Updated Guidelines

This commit is contained in:
edent
2018-01-27 23:49:48 +00:00
parent 979b0a4d2e
commit 0e41bb1cf6
2 changed files with 15 additions and 8 deletions

View File

@@ -171,8 +171,15 @@ I'd *love* you to submit something 😸 The rules are simple, your icon must:
At a minimum, your icon needs these components:
```
<svg xmlns="http://www.w3.org/2000/svg" aria-label="IconName" role="img" viewBox="0 0 512 512">
<rect height="512" width="512" rx="15%" fill="#123"/>
<svg
xmlns="http://www.w3.org/2000/svg"
aria-label="..." role="img"
viewBox="0 0 512 512">
<rect
width="512" height="512"
rx="15%"
fill="#fff"/>
...
</svg>
```

View File

@@ -1,6 +1,6 @@
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" aria-label="Guidelines" role="img">
<rect fill="#222" height="512" rx="15%" width="512"/>
<rect fill="#ff3f32" height="512" rx="50%" width="512"/>
<rect fill="#ffd900" height="435" rx="50%" width="435" x="39" y="39"/>
<rect fill="#4cd966" height="384" rx="50%" width="384" x="64" y="64"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg"
aria-label="Guidelines" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
rx="15%"
fill="#222"/><rect fill="#ff3f32" height="512" rx="50%" width="512"/><rect fill="#ffd900" height="435" rx="50%" width="435" x="39" y="39"/><rect fill="#4cd966" height="384" rx="50%" width="384" x="64" y="64"/></svg>

Before

Width:  |  Height:  |  Size: 361 B

After

Width:  |  Height:  |  Size: 352 B