Merge pull request #734 from kuubeu/minor-optimization

Minor optimizations
This commit is contained in:
Ethan Chapman
2023-06-27 23:30:24 -04:00
committed by GitHub
5 changed files with 10 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
<svg xmlns="http://www.w3.org/2000/svg"
aria-label="Angular" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
fill="#fff"/><g fill="#c3002f"><path id="a" d="M256 65v42l111 249h-42l-22-55h-47v146l151-84 27-235-178-63zm0 123v78h33l-33-78z"/></g><use fill="#dd0031" xlink:href="#a" transform="matrix(-1,0,0,1,512,0)"/></svg>
fill="#fff"/><path fill="#c3002f" d="m289 266h-33v-78m0 259V301h47l22 55h42L256 107V65l178 63-27 235"/><path fill="#dd0031" d="m105 363-27-235 178-63v42L145 356h42l22-55h47v146m0-259v78h-33"/></svg>

Before

Width:  |  Height:  |  Size: 379 B

After

Width:  |  Height:  |  Size: 323 B

View File

@@ -2,4 +2,4 @@
aria-label="Apple" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
fill="#555"/><path fill="#f2f2f2" d="M410 334s-10 29-30 59c-5 9-29 43-58 43-21 0-35-15-62-15-33 0-46 15-67 15-11 1-22-5-34-16-77-73-81-181-52-225 18-29 48-47 81-48 26 0 54 17 65 17 8 0 50-20 74-18 33 3 56 15 73 38-49 24-66 117 10 150zM329 56c8 32-27 93-79 90-3-43 34-87 79-90z"/></svg>
fill="#fff"/><path d="m406 335s-9 30-26 54-31 47-60 47c-23 0-35-15-61-15s-42 15-64 15-33-15-50-35c-44-55-62-146-38-194s59-58 84-58 48 16 63 16 38-17 68-17 59 13 74 38c-49 27-64 115 10 149M327 56c5 36-27 89-76 88-5-42 32-85 76-88"/></svg>

Before

Width:  |  Height:  |  Size: 408 B

After

Width:  |  Height:  |  Size: 360 B

View File

@@ -1,4 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg"
aria-label="Apple Music" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512" fill="url(#g)"/><linearGradient id="g" x1=".5" y1=".99" x2=".5" y2=".02"><stop offset="0" stop-color="#FA233B"/><stop offset="1" stop-color="#FB5C74"/></linearGradient><path fill="#fff" d="M199 359V199q0-9 10-11l138-28q11-2 12 10v122q0 15-45 20c-57 9-48 105 30 79 30-11 35-40 35-69V88s0-20-17-15l-170 35s-13 2-13 18v203q0 15-45 20c-57 9-48 105 30 79 30-11 35-40 35-69"/></svg>
width="512" height="512"
fill="url(#g)"/><linearGradient id="g" x1="0" y1=".99" x2="0" y2=".02"><stop offset="0" stop-color="#FA233B"/><stop offset="1" stop-color="#FB5C74"/></linearGradient><path fill="#fff" d="m347 160q11-2 12 10v122q0 15-45 20c-57 9-48 105 30 79 30-11 35-40 35-69V88s0-20-17-15l-170 35s-13 2-13 18v203q0 15-45 20c-57 9-48 105 30 79 30-11 35-40 35-69V199q0-9 10-11"/></svg>

Before

Width:  |  Height:  |  Size: 505 B

After

Width:  |  Height:  |  Size: 496 B

View File

@@ -2,4 +2,4 @@
aria-label="Arch Linux" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
fill="#fff"/><path d="M256 72c-14 35-23 57-39 91 10 11 22 23 41 36-21-8-35-17-45-26-21 43-53 103-117 220 50-30 90-48 127-55-2-7-3-14-3-22v-1c1-33 18-58 38-56 20 1 36 29 35 62l-2 17c36 7 75 26 125 54l-27-50c-13-10-27-23-55-38 19 5 33 11 44 17-86-159-93-180-122-250z" fill="#1793d1"/></svg>
fill="#fff"/><path d="m416 411q-81-46-125-54a36.5 58-1 10-68 0q-51 9-127 55 79-143 117-220 18 16 45 26-22-15-41-36 21-44 39-92 34 90 122 250-20-11-44-17 25 13 55 38" fill="#1793d1"/></svg>

Before

Width:  |  Height:  |  Size: 416 B

After

Width:  |  Height:  |  Size: 316 B