Smaller Gitpod

Path optimization, remove gradientUnits, bake in transform
This commit is contained in:
Ethan Chapman
2023-06-19 19:30:26 -04:00
parent aa30a35250
commit 728a2444d2
2 changed files with 2 additions and 2 deletions

View File

@@ -2,4 +2,4 @@
aria-label="Gitpod" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
fill="#fff"/><defs><linearGradient id="a" x1="27" y1="6" x2="8" y2="35" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#FFB45B"/><stop offset="1" stop-color="#FF8A00"/></linearGradient></defs><path fill-rule="evenodd" clip-rule="evenodd" d="M21.4 2c1 1.9.4 4.3-1.5 5.4L8.3 14.1c-.3.2-.5.5-.5.9v10.5c0 .4.2.7.5.9l9.2 5.3c.3.2.7.2 1 0l9.2-5.3c.3-.2.5-.5.5-.9V19l-8.3 4.7c-1.9 1.1-4.3.4-5.3-1.5-1.1-1.9-.4-4.3 1.5-5.4L28 10.1c3.5-2.1 8 .5 8 4.7v11.56c0 2.64-1.4 5.24-3.8 6.54L21.7 39c-2.3 1.3-5.1 1.3-7.4 0L3.7 32.9C1.4 31.5 0 29 0 26.3V14.2C0 11.5 1.4 9 3.7 7.6L16 .5C18-.6 20.3.1 21.4 2Z" fill="url(#a)" transform="matrix(9.6 0 0 9.6 83 64)"/></svg>
fill="#fff"/><defs><linearGradient id="a" x1=".79" y1=".16" x2=".21" y2=".84"><stop offset="0" stop-color="#FFB45B"/><stop offset="1" stop-color="#FF8A00"/></linearGradient></defs><path d="M237 69a1 1 60 0137 66l-111 64c-3 2-5 5-5 9v101c0 4 2 7 5 9l88 51c3 2 7 2 10 0l88-51c3-2 5-5 5-9v-63l-80 45A1 1 0 01237 225l115-64c34-20 77 5 77 45v111c0 25-13 50-37 63l-101 58c-22 13-49 13-71 0L119 380c-23-14-36-38-36-63V200c0-26 13-50 36-63" fill="url(#a)"/></svg>

Before

Width:  |  Height:  |  Size: 785 B

After

Width:  |  Height:  |  Size: 579 B