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="Ruby" role="img"
viewBox="0 0 512 512" fill="url(#a)"><rect
width="512" height="512"
viewBox="0 0 512 512" fill="url(#a)"><path
d="m0 0H512V512H0"
fill="#fff"/><linearGradient id="a" x2=".2" y2="1"><stop offset=".2" stop-color="#fff"/><stop offset=".4" stop-color="#d53"/><stop offset=".6" stop-color="#b10"/></linearGradient><linearGradient id="b" y1="1"><stop offset="0" stop-color="#fff"/><stop offset=".1" stop-color="#d32"/><stop offset=".2" stop-color="#800"/><stop offset="1" stop-color="#d20"/></linearGradient><path fill="#810" d="m154 430 257-17V248"/><path fill="#b10" d="m411 413-164-13 81-61zl-22-152 41-100"/><path fill="#900" d="m81 360q2 72 73 70c129-8 266-167 276-269q6-68-55-78l-54 30s-11 194-218 204"/><path d="m81 360 5-97 19 54"/><path d="m105 317 49 113 40-133"/><path d="m194 297 100-94 34 137"/><path d="m294 203 27-90 101 82"/><g fill="url(#b)"><path d="m155 157a62 139 45 101-1.02"/><path d="m375 83h-96l42 30zl300-600"/></g></svg>

Before

Width:  |  Height:  |  Size: 947 B

After

Width:  |  Height:  |  Size: 941 B