Change background rects to paths

Saves 6 bytes per icon
This commit is contained in:
kuubeu
2023-09-12 18:18:28 +02:00
parent 93ef8439a9
commit 3f057e5c5d
354 changed files with 1066 additions and 1070 deletions

View File

@@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg"
aria-label="Friendica" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
viewBox="0 0 512 512"><path
d="m0 0H512V512H0"
fill="#fff"/><defs><linearGradient id="l" x2="0" y2="1"><stop stop-color="#fff" stop-opacity=".4" offset="0"/><stop stop-color="#d6d7e8" stop-opacity="0" offset=".3"/><stop stop-opacity="0" offset=".7"/><stop stop-opacity=".4" offset="1"/></linearGradient></defs><rect x="89" y="89" width="334" height="334" rx="50"/><path d="m144 89c-30 0-55 25-55 55v225c0 30 25 55 55 55h225c30 0 55-25 55-55v-225c0-30-25-55-55-55z"/><path d="m144 102c-23 0-42 18-42 42v225c0 23 18 42 42 42h52v-88h108v-67h-108v-81h107.5v-73z" fill="#ffc019"/><path d="m316 102v87h-107v67h107v81h-107v74h160c23 0 42-18 41-42v-225c0-23-18-42-42-42z" fill="#1872a2"/><rect x="89" y="89" width="334" height="334" rx="50" fill="url(#l)"/></svg>

Before

Width:  |  Height:  |  Size: 835 B

After

Width:  |  Height:  |  Size: 829 B