1
0
mirror of https://github.com/konpa/devicon.git synced 2025-09-09 22:00:46 +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

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" enable-background="new 0 0 128 128"><g fill="#716955"><path d="M38.8 37.3c-1 0-2-.6-2.5-1.5l-.8-1.4-.1 1.6-.1.7c0 3 2.4 5.4 5.4 5.4 3 0 5.4-2.4 5.4-5.4 0-2.9-2.2-5.2-5.1-5.4l-1.6-.1 1.2 1c.7.5 1.1 1.3 1.1 2.2 0 1.7-1.3 2.9-2.9 2.9zM38.3 25.2c4.6 0 8.4 3.1 9.7 7.2.7-2 1.9-3.7 3.5-5.1-14.9-1-21.3-14.2-21.3-14.2l-.4 16.7c1.8-2.8 5-4.6 8.5-4.6zM61.9 44.2c3.4 0 6.1-2.8 6.1-6.1s-2.6-6-5.8-6.1l-1.4-.1 1.1.9c.8.7 1.3 1.7 1.3 2.7 0 1.9-1.6 3.5-3.5 3.5-1.3 0-2.4-.7-3.1-1.8l-.6-1.3-.2 1.4-.1.8c.1 3.4 2.8 6.1 6.2 6.1zM120.5 87.3l-1.1-3.8c-2.3-8.2-4.1-14.6-11.2-14-1.1.1-2 .4-2.8 1l-7.2-4.5h-.2l-.6-1.7-1.1.7c-2.2-1.4-4.8-2.8-7.3-3.9 8.2-9.8 12.7-27 9.5-55.2-.3-2.5-1.6-2.9-2.5-.3-.8 2.4-5.6 16.7-30.5 20.8 3.3 2.1 5.5 5.8 5.5 10 0 6.5-5.3 11.8-11.8 11.8-5.6 0-10.3-3.9-11.5-9.1-1.5 3.7-5.1 6.2-9.3 6.2-4.2 0-7.8-2.6-9.3-6.2l-.3.5-.4-.6c-4.9-6.8-12.7-9.4-17.6-6-4.8 3.5-4.8 11.8.1 18.6 4.1 5.7 10.2 8.4 14.9 7.2 13.9 10.2 39.2 19.1 56.3 8.2 3.4 1.9 7.2 3.8 10.7 5v.1l.3 1.1 1.5-.6.2.2 8 2.9c.1 2.5 1.6 5.3 4.9 6.6 6.1 2.3 11.9 5.3 12 5.4l.9.5-.1-.9zm-101.5-47.5c0 2.9-2 5.3-4.4 5.3-2.4 0-4.4-2.4-4.4-5.3s2-5.3 4.4-5.3 4.4 2.4 4.4 5.3zm60.2 17.3c-2.9-1-5.1-1.7-5.6-1.8-1.8-.8-3.5-.3-4.1 1.1-.4 1 0 2.2.8 3.1-5.7 2.5-15 1.4-26.9-2.8 16.7 3.3 25.2.2 30.2-3.6-1.3-1.7-3.6-3.6-3.6-3.6s5.8 1.6 7.9 4.3c1.1 1.3 1.3 2.2 1.3 3.3zM32.1 85.1l-4.8 27.8 9-.2-.7 2.5-9 .4-.9 6.2 15.7-.5 6.2-36.3-15.5.1zm5.3 21l-3.1.1 2.5-14.3 3-.1-2.4 14.3zM49.2 91.2l-4.4 26.8h5.9l4.8-26.9zM59.4 85l-5.8 32.4 6.5.1 4.4-25.6 2.8.2-4.5 25.9h6.3l4.6-25.7 2.9-.1-4.6 25.3 6.2-.1 5.6-32.1zM80.5 122h6.2l.7-4.1 9.2-.2 5.9-32-15.5-.2-6.5 36.5zm11.6-30.1l2.8-.1-3.4 19.7-3 .1 3.6-19.7zM56.8 82h-6l-1 6h6.3z"/></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path d="M38.8 37.3c-1 0-2-.6-2.5-1.5l-.8-1.4-.1 1.6-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8 3.1-5.7 2.5-15 1.4-26.9-2.8 16.7 3.3 25.2.2 30.2-3.6-1.3-1.7-3.6-3.6-3.6-3.6s5.8 1.6 7.9 4.3c1.1 1.3 1.3 2.2 1.3 3.3zm-47.1 28l-4.8 27.8 9-.2-.7 2.5-9 .4-.9 6.2 15.7-.5L47.6 85l-15.5.1zm5.3 21l-3.1.1 2.5-14.3 3-.1-2.4 14.3zm11.8-14.9L44.8 118h5.9l4.8-26.9zM59.4 85l-5.8 32.4 6.5.1 4.4-25.6 2.8.2-4.5 25.9h6.3l4.6-25.7 2.9-.1-4.6 25.3 6.2-.1 5.6-32.1zm21.1 37h6.2l.7-4.1 9.2-.2 5.9-32-15.5-.2-6.5 36.5zm11.6-30.1l2.8-.1-3.4 19.7-3 .1 3.6-19.7zM56.8 82h-6l-1 6h6.3z" fill="#716955"/></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" enable-background="new 0 0 128 128"><g fill="#716955"><path d="M36.4 54.4c-1.1 0-2.2-.6-2.7-1.6l-.8-1.6-.3 1.8-.1.8c0 3.3 2.6 5.9 5.9 5.9 3.3 0 5.9-2.6 5.9-5.9 0-3.1-2.5-5.7-5.6-5.9l-1.7-.1 1.4 1.1c.7.6 1.2 1.5 1.2 2.4-.1 1.7-1.5 3.1-3.2 3.1zM35.9 41c5 0 9.3 3.4 10.6 7.9.8-2.2 2.1-4.1 3.8-5.6-16.3-1-23.3-15.5-23.3-15.5l-.4 18.3c1.9-3 5.3-5.1 9.3-5.1zM61.7 62c3.7 0 6.7-3 6.7-6.7 0-3.6-2.8-6.6-6.4-6.7l-1.5-.1 1.2.9c.9.7 1.4 1.8 1.4 3 0 2.1-1.7 3.8-3.8 3.8-1.4 0-2.7-.8-3.4-2l-.7-1.3-.2 1.5-.1.9c.1 3.6 3.1 6.7 6.8 6.7zM126 109.2c-.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/></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB