1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-31 18:13:04 +02:00

Optimized SVG using SVGO (#597)

* Added script to optimize svgs

* Updated the svgs using svgo

* Made the optimize svg script into a workflow

* Added npm install step

* Change the env variable bug

* Clean up and updated check svg

* Change label name
This commit is contained in:
Thomas Bui
2021-05-15 12:14:13 -07:00
committed by GitHub
parent 2c6a21d9f4
commit d98a72cb9a
534 changed files with 1432 additions and 10831 deletions

View File

@@ -1,9 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20%,20%,20%);fill-opacity:1;" d="M 15.621094 77.421875 C 14.953125 77.3125 13.242188 76.886719 11.820312 76.496094 L 9.238281 75.773438 L 10.5625 73.339844 L 11.890625 70.902344 L 10.820312 69.578125 C 9.304688 67.707031 7.351562 63.597656 7.339844 62.273438 C 7.324219 59.179688 11.339844 54.699219 16.265625 52.289062 C 19.652344 50.628906 22.339844 50.589844 25.710938 52.167969 L 28.253906 53.359375 L 28.992188 52.304688 C 29.390625 51.726562 29.726562 50.964844 29.726562 50.628906 C 29.726562 50.296875 30.0625 50 30.460938 50 C 30.863281 50 31.199219 50.109375 31.199219 50.230469 C 31.199219 50.523438 28.242188 57.992188 28.054688 58.179688 C 27.972656 58.257812 27.171875 57.882812 26.261719 57.347656 C 23.691406 55.835938 20.464844 54.832031 17.964844 54.765625 C 12.144531 54.617188 10.121094 60.304688 14.230469 65.285156 L 15.675781 67.035156 L 19.625 63.839844 C 24.054688 60.265625 24.5625 60.183594 28.015625 62.566406 C 31.894531 65.242188 31.960938 69.3125 28.214844 73.566406 C 24.894531 77.355469 21.484375 78.410156 15.621094 77.421875 Z M 25.550781 73.339844 C 27.480469 71.828125 27.34375 69.03125 25.257812 66.808594 C 22.632812 64.027344 21.816406 64.144531 17.203125 68 C 12.613281 71.828125 12.585938 71.679688 18.070312 73.433594 C 21.699219 74.609375 23.972656 74.582031 25.550781 73.339844 Z M 25.550781 73.339844 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20%,20%,20%);fill-opacity:1;" d="M 62.832031 88.085938 C 61.523438 87.605469 57.988281 86.144531 54.964844 84.835938 C 46.800781 81.273438 45.652344 81.207031 43.214844 84.164062 C 42.652344 84.847656 42.039062 85.277344 41.863281 85.101562 C 41.34375 84.578125 42.894531 82.078125 44.769531 80.433594 C 46.292969 79.09375 46.800781 78.90625 48.488281 79.09375 C 49.558594 79.214844 53.117188 80.457031 56.398438 81.851562 C 63.796875 84.996094 65.964844 85.664062 68.789062 85.664062 C 72.226562 85.664062 73.992188 83.253906 72.910156 80.058594 C 72.640625 79.253906 72.722656 78.988281 73.257812 78.988281 C 74.261719 78.988281 74.769531 82.734375 74.046875 84.886719 C 73.738281 85.8125 72.84375 87.121094 72.054688 87.777344 C 70.875 88.769531 70.125 88.984375 67.917969 88.96875 C 66.433594 88.96875 64.144531 88.566406 62.832031 88.085938 Z M 43.765625 76.644531 C 40.726562 75.226562 37.984375 72.523438 36.40625 69.363281 C 33.875 64.308594 34.652344 61.066406 39.441406 56.691406 C 43.46875 53.011719 46.761719 51.582031 51.191406 51.582031 C 54.390625 51.582031 55.070312 51.753906 57.144531 53.027344 C 62.058594 56.0625 63.273438 61.859375 60.316406 68.175781 C 56.851562 75.585938 49.53125 79.335938 43.765625 76.644531 Z M 53.933594 73.125 C 56.210938 72 57.773438 66.808594 57.132812 62.5 C 56.328125 57.1875 49.144531 53.5625 43.871094 55.808594 C 38.453125 58.125 38.371094 64.292969 43.699219 69.847656 C 47.417969 73.742188 50.617188 74.769531 53.933594 73.125 Z M 53.933594 73.125 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20%,20%,20%);fill-opacity:1;" d="M 64.25 77.621094 C 64.25 77.394531 65.09375 76.992188 66.136719 76.738281 L 68.023438 76.269531 L 68.425781 69.472656 C 68.867188 61.953125 68.546875 54.550781 67.730469 53.5625 C 67.4375 53.214844 66.539062 52.785156 65.722656 52.597656 C 62.40625 51.863281 64.613281 51.351562 71.050781 51.351562 C 77.484375 51.351562 79.535156 51.820312 76.46875 52.597656 C 73.832031 53.253906 73.820312 53.292969 73.820312 64.027344 C 73.820312 69.980469 74.035156 74.464844 74.339844 75.039062 C 74.769531 75.839844 75.410156 76.015625 77.875 76.015625 C 82.960938 76.015625 84.710938 74.8125 86.089844 70.355469 C 86.503906 69.015625 87.574219 69.257812 87.203125 70.609375 C 87.027344 71.238281 86.746094 73.152344 86.574219 74.890625 L 86.25 78.035156 L 75.25 78.035156 C 69.203125 78.035156 64.25 77.847656 64.25 77.621094 Z M 64.25 77.621094 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20%,20%,20%);fill-opacity:1;" d="M 89.234375 77.300781 C 89.234375 76.898438 89.625 76.496094 90.265625 76.191406 C 91.121094 75.789062 91.683594 74.945312 93.71875 70.972656 C 96.941406 64.679688 102.027344 53.882812 102.511719 52.261719 C 102.882812 51.03125 102.964844 50.964844 104.355469 50.804688 C 105.160156 50.710938 105.828125 50.65625 105.84375 50.683594 C 105.855469 50.710938 106.964844 53.144531 108.316406 56.105469 C 109.667969 59.0625 112.34375 64.679688 114.300781 68.589844 C 117.5625 75.160156 117.925781 75.75 119.023438 76.285156 C 119.691406 76.605469 120.214844 77.101562 120.214844 77.394531 C 120.214844 77.863281 119.636719 77.914062 114.6875 77.914062 C 109.722656 77.914062 109.160156 77.863281 109.160156 77.378906 C 109.160156 77.058594 109.589844 76.710938 110.269531 76.484375 C 110.898438 76.285156 111.382812 75.910156 111.382812 75.628906 C 111.382812 75.359375 110.726562 73.59375 109.921875 71.707031 L 108.464844 68.269531 L 97.410156 68.269531 L 96.355469 70.597656 C 94.375 74.957031 94.332031 75.988281 96.179688 76.484375 C 97.105469 76.738281 97.359375 76.9375 97.25 77.355469 C 97.128906 77.835938 96.648438 77.902344 93.167969 77.902344 C 89.4375 77.929688 89.234375 77.902344 89.234375 77.300781 Z M 107.355469 66.472656 C 107.542969 66.140625 103.378906 57.054688 102.992188 56.960938 C 102.710938 56.878906 98.402344 65.765625 98.402344 66.433594 C 98.402344 66.769531 107.152344 66.808594 107.355469 66.472656 Z M 107.355469 66.472656 "/>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><g fill="#333"><path d="M15.621 77.422c-.668-.11-2.379-.535-3.8-.926l-2.583-.723 1.325-2.433 1.328-2.438-1.07-1.324c-1.516-1.871-3.47-5.98-3.481-7.305-.016-3.093 4-7.574 8.926-9.984 3.386-1.66 6.074-1.7 9.445-.121l2.543 1.191.738-1.054c.399-.578.735-1.34.735-1.676 0-.332.335-.629.734-.629.402 0 .738.11.738.23 0 .293-2.957 7.762-3.144 7.95-.082.078-.883-.297-1.793-.832-2.57-1.512-5.797-2.516-8.297-2.582-5.82-.149-7.844 5.539-3.735 10.52l1.446 1.75 3.949-3.196c4.43-3.574 4.938-3.656 8.39-1.274 3.88 2.676 3.946 6.746.2 11-3.32 3.79-6.73 4.844-12.594 3.856zm9.93-4.082c1.93-1.512 1.793-4.309-.293-6.531-2.625-2.782-3.442-2.664-8.055 1.191-4.59 3.828-4.617 3.68.867 5.434 3.63 1.175 5.903 1.148 7.48-.094zm0 0M62.832 88.086c-1.309-.48-4.844-1.941-7.867-3.25-8.164-3.563-9.313-3.629-11.75-.672-.563.684-1.176 1.113-1.352.938-.52-.524 1.032-3.024 2.907-4.668 1.523-1.34 2.03-1.528 3.718-1.34 1.07.12 4.63 1.363 7.91 2.758 7.399 3.144 9.567 3.812 12.391 3.812 3.438 0 5.203-2.41 4.121-5.605-.27-.805-.187-1.07.348-1.07 1.004 0 1.512 3.745.789 5.898-.309.925-1.203 2.234-1.992 2.89-1.18.993-1.93 1.207-4.137 1.192-1.484 0-3.773-.403-5.086-.883zM43.766 76.645c-3.04-1.418-5.782-4.122-7.36-7.282-2.531-5.054-1.754-8.297 3.035-12.672 4.028-3.68 7.32-5.109 11.75-5.109 3.2 0 3.88.172 5.954 1.445 4.914 3.035 6.128 8.832 3.171 15.149-3.464 7.41-10.785 11.16-16.55 8.469zm10.168-3.52C56.21 72 57.774 66.809 57.133 62.5c-.805-5.313-7.988-8.938-13.262-6.691-5.418 2.316-5.5 8.484-.172 14.039 3.719 3.894 6.918 4.922 10.235 3.277zm0 0M64.25 77.621c0-.226.844-.629 1.887-.883l1.886-.468.403-6.797c.441-7.52.12-14.922-.696-15.91-.293-.348-1.19-.778-2.007-.965-3.317-.735-1.11-1.246 5.328-1.246 6.433 0 8.484.468 5.418 1.246-2.637.656-2.649.695-2.649 11.43 0 5.952.215 10.437.52 11.011.43.8 1.07.977 3.535.977 5.086 0 6.836-1.204 8.215-5.66.414-1.34 1.484-1.098 1.113.253-.176.63-.457 2.543-.629 4.282l-.324 3.144h-11c-6.047 0-11-.187-11-.414zm0 0M89.234 77.3c0-.402.391-.804 1.032-1.109.855-.402 1.418-1.246 3.453-5.218 3.222-6.293 8.308-17.09 8.793-18.711.37-1.23.453-1.297 1.843-1.457.805-.094 1.473-.149 1.489-.121.011.027 1.12 2.46 2.472 5.421a475.1 475.1 0 005.985 12.485c3.261 6.57 3.625 7.16 4.722 7.695.668.32 1.192.817 1.192 1.11 0 .468-.578.52-5.528.52-4.964 0-5.527-.052-5.527-.536 0-.32.43-.668 1.11-.895.628-.199 1.113-.574 1.113-.855 0-.27-.656-2.035-1.461-3.922l-1.457-3.437H97.41l-1.055 2.328c-1.98 4.359-2.023 5.39-.175 5.886.925.254 1.18.454 1.07.871-.121.48-.602.547-4.082.547-3.73.028-3.934 0-3.934-.601zm18.121-10.827c.188-.332-3.976-9.418-4.363-9.512-.281-.082-4.59 8.805-4.59 9.473 0 .336 8.75.375 8.953.039zm0 0"/></g></svg>

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB