Shrank element.svg to 444 bytes (#560)

* shrank file by combining multiple elements into one path

* updated README with new, smaller file size

Co-authored-by: Terence Eden <edent@users.noreply.github.com>
This commit is contained in:
Zach Frohardt
2021-07-18 05:16:36 -07:00
committed by GitHub
parent 237bbb6969
commit a3bdd77f91
2 changed files with 3 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ Say thanks!
<tr> <tr>
<td>Wire<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/wire.svg" width="125" title="Wire" /><br>271 Bytes</td> <td>Wire<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/wire.svg" width="125" title="Wire" /><br>271 Bytes</td>
<td>Teamspeak<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/teamspeak.svg" width="125" title="Teamspeak" /><br>936 Bytes</td> <td>Teamspeak<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/teamspeak.svg" width="125" title="Teamspeak" /><br>936 Bytes</td>
<td>Element<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/element.svg" width="125" title="Element" /><br>482 Bytes</td> <td>Element<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/element.svg" width="125" title="Element" /><br>444 Bytes</td>
<td>Briar<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/briar.svg" width="125" title="Briar" /><br>563 Bytes</td> <td>Briar<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/briar.svg" width="125" title="Briar" /><br>563 Bytes</td>
</tr> </tr>
</table> </table>

View File

@@ -3,4 +3,5 @@ aria-label="Element" role="img"
viewBox="0 0 512 512"><rect viewBox="0 0 512 512"><rect
width="512" height="512" width="512" height="512"
rx="15%" rx="15%"
fill="#fff"/><circle cx="256" cy="256" fill="#0dbd8b" r="192"/><path d="m234.85,153.25c46.35,0.47 81.6,37.79 81.6,81.6" fill="none" stroke="#fff" stroke-width="28.155" stroke-linecap="round" id="a"/><use href="#a" transform="rotate(90 256 256)"/><use href="#a" transform="rotate(180 256 256)"/><use href="#a" transform="rotate(270 256 256)"/></svg> fill="#fff"/><circle cx="256" cy="256" fill="#0dbd8b" r="192"/><path fill="none" stroke="#fff" stroke-width="28.155" stroke-linecap="round"
d="m153.25 277.15c.47-46.35 37.79-81.6 81.6-81.6m0-42.3c46.35.47 81.6 37.79 81.6 81.6m42.3 0c-.47 46.35-37.79 81.6-81.6 81.6m0 42.3c-46.35 0-81.6-37.79-81.6-81.6"/></svg>

Before

Width:  |  Height:  |  Size: 482 B

After

Width:  |  Height:  |  Size: 444 B