Shrinks ubuntu.svg (#487)

* Shrinks ubuntu.svg

Uses 1 circle with stroke for main ring instead
of 2 separate circles.
Simplifies path.

* Changes fill in outer circle to none

Based on @Erwan-le-Gall improvement in #490 , this
commit changes the fill in the large `circle` from
the same color as the containing `rect` to `none`,
shaving off 3 bytes.
This commit is contained in:
Brian Tremblay
2020-11-26 02:48:00 -08:00
committed by GitHub
parent f19d90827d
commit f407f7686f
2 changed files with 2 additions and 2 deletions

View File

@@ -425,7 +425,7 @@ Say thanks!
<td>Android<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/android.svg" width="125" title="Android" /><br>551 Bytes</td>
<td>Arch Linux<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/arch_linux.svg" width="125" title="Arch Linux" /><br>425 Bytes</td>
<td>GNU/Linux<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/linux.svg" width="125" title="Linux" /><br>965 Bytes</td>
<td>Ubuntu<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/ubuntu.svg" width="125" title="Ubuntu" /><br>492 Bytes</td>
<td>Ubuntu<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/ubuntu.svg" width="125" title="Ubuntu" /><br>455 Bytes</td>
<td>Windows<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/windows.svg" width="125" title="Microsoft Windows" /><br>270 Bytes</td>
<td>Elementary OS<br><img src="https://edent.github.io/SuperTinyIcons/images/svg/elementaryos.svg" width="125" title="Elementary OS" /><br>767 Bytes</td>
</tr>

View File

@@ -3,4 +3,4 @@ aria-label="Ubuntu" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
rx="15%"
fill="#e65e17"/><g fill="#fff"><circle cx="265" cy="256" r="150"/><g stroke="#e65e17" stroke-width="10"><circle cx="90" cy="257" r="41"/><circle cx="353" cy="409" r="41"/><circle cx="353" cy="104" r="41"/></g></g><g fill="#e65e17"><circle cx="265" cy="256" r="99"/><path d="m420 266v-19h-60v19zm-241 119 17 10 31-53-17-9zm17-268-17 10 31 52 17-9z"/></g></svg>
fill="#e65e17"/><circle cx="265" cy="256" r="124" fill="none" stroke="#fff" stroke-width="51"/><g fill="#fff" stroke="#e65e17" stroke-width="10"><circle cx="90" cy="257" r="41"/><circle cx="353" cy="409" r="41"/><circle cx="353" cy="104" r="41"/><path stroke-width="19" d="M185,118l82,138m0,0h155h-155l-84,140"/></g></svg>

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 455 B