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:
@@ -1,39 +1 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 128 128" style="enable-background:new 0 0 128 128;" xml:space="preserve">
|
||||
<path fill="#B7111D" d="M18.8,59.5c1.6,1.7,1.7,3.8,1.8,4.3H8.3c0-0.4,0.1-2.7,2-4.5c1.7-1.6,3.7-1.7,4.2-1.7
|
||||
C14.8,57.6,17.1,57.7,18.8,59.5z M26.9,62.8c0,6.9-5.6,12.5-12.5,12.5S1.9,69.7,1.9,62.8s5.6-12.5,12.5-12.5S26.9,55.9,26.9,62.8z
|
||||
M23.8,66.1c0-0.5,0.1-1.2,0-2l0,0H22v-0.6h1.7c-0.1-1.6-0.5-4-2.3-6.1c0-0.1-0.1-0.1-0.1-0.2L20,58.6l-0.5-0.5l1.4-1.4
|
||||
c-2.3-2.1-5.1-2.5-6.1-2.5v1.9h-0.6v-1.9c-1,0-3.9,0.4-6.2,2.6l1.3,1.3l-0.5,0.5l-1.3-1.3c-1.9,2.1-2.3,4.6-2.4,6.2h1.7v0.6H5
|
||||
c0,0,0,0,0,0.1c-0.1,0.8,0,1.5,0,2L23.8,66.1L23.8,66.1z M36.9,55.9c-0.6-0.1-1.2-0.2-1.7-0.2c-1.5,0-3.1,0-4.6,0
|
||||
c0,4.8,0,9.6,0,14.3c0.8,0,1.5,0,2.3,0c0-1.8,0-3.5,0-5.3c0.6,0,1.1,0.1,1.7,0c0.9-0.1,1.9-0.2,2.8-0.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.7-.6v1.7c0 .1-.2.3-.4.4-1.8.7-3.7.7-5.4-.2-1-.5-1.6-1.4-1.9-2.5-.5-1.6-.5-3.2 0-4.8.5-1.8 1.7-2.9 3.6-3.2 1.5-.2 2.9 0 4.4.6zm4.8-.5h3v1.8h-3v6.2c0 .8.6 1.2 1.3 1.2.6 0 1.2-.1 1.8-.2v1.5c0 .1-.2.3-.4.4-1 .1-2 .3-3 .1-1.3-.2-2.1-1.1-2.1-2.5-.1-1.8-.1-3.6-.1-5.4V61h-1.4c-.2-.7-.1-1.2.6-1.4.8-.2 1.1-.8 1.3-1.6.1-.4.3-.8.4-1.2h1.5c.1.7.1 1.5.1 2.3zm14.5 8.3c-.7 1.9-2.6 3-4.8 2.9-2.3-.1-4-1.3-4.6-3.3-.5-1.5-.5-3-.1-4.6.7-2.5 3-3.8 5.8-3.4 2.4.4 4 2.2 4.2 4.7v.9s-.2 1.9-.5 2.8zm-1.8-2.9c-.2-.7-.3-1.5-.5-2.2-.4-1.1-1.4-1.4-2.5-1.4s-1.8.5-2.2 1.5c-.5 1.4-.5 2.9 0 4.3.4 1.1 1.3 1.7 2.5 1.6 1.2 0 2.1-.6 2.4-1.8.1-.6.2-1.2.3-2zm11.6-5.2l-.3 1.8H125c-1.4.1-2.5 1.1-2.6 2.5s-.1 2.8-.1 4.2v2.1H120V59.2c.1 0 .1-.1.1-.1 1.6-.1 1.6-.1 1.9 1.4 0 .1.1.2.1.4 1.1-1.7 2.6-2.4 4.5-2 .1.3.1.4.1.4z"/></svg>
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 2.7 KiB |
@@ -1,10 +1 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 128 128" style="enable-background:new 0 0 128 128;" xml:space="preserve">
|
||||
<path fill="#B7111D" d="M86.1,47.5c8.2,8.5,8.7,18.8,8.7,21.2H33.7c0-2.1,0.5-13.5,9.8-22.3c8.5-8,18.5-8.3,20.8-8.3
|
||||
C66.3,38.1,77.3,38.4,86.1,47.5z M125.9,64c0,34.2-27.7,61.9-61.9,61.9S2,98.2,2,64S29.8,2,64,2S125.9,29.8,125.9,64z M110.7,80.3
|
||||
c0.2-2.4,0.3-5.9,0-10c0,0,0-0.1,0-0.1h-8.9V67h8.6c-0.7-8-2.6-19.9-11.3-30c-0.2-0.3-0.5-0.5-0.7-0.8L91.6,43l-2.3-2.3l6.8-6.8
|
||||
C85,23.3,70.8,21.6,65.8,21.3v9.3h-3.2v-9.4c-4.9,0.2-19.1,1.8-30.5,12.9l6.5,6.5L36.4,43l-6.5-6.5C20.7,46.8,18.6,59.1,17.8,67h8.3
|
||||
v3.2h-8.6c0,0.1,0,0.2,0,0.4c-0.3,4-0.2,7.4,0,9.7H110.7z"/>
|
||||
</svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path fill="#B7111D" d="M86.1 47.5c8.2 8.5 8.7 18.8 8.7 21.2H33.7c0-2.1.5-13.5 9.8-22.3 8.5-8 18.5-8.3 20.8-8.3 2 0 13 .3 21.8 9.4zM125.9 64c0 34.2-27.7 61.9-61.9 61.9S2 98.2 2 64 29.8 2 64 2s61.9 27.8 61.9 62zm-15.2 16.3c.2-2.4.3-5.9 0-10v-.1h-8.9V67h8.6c-.7-8-2.6-19.9-11.3-30-.2-.3-.5-.5-.7-.8L91.6 43l-2.3-2.3 6.8-6.8C85 23.3 70.8 21.6 65.8 21.3v9.3h-3.2v-9.4c-4.9.2-19.1 1.8-30.5 12.9l6.5 6.5-2.2 2.4-6.5-6.5C20.7 46.8 18.6 59.1 17.8 67h8.3v3.2h-8.6v.4c-.3 4-.2 7.4 0 9.7h93.2z"/></svg>
|
Before Width: | Height: | Size: 911 B After Width: | Height: | Size: 553 B |
Reference in New Issue
Block a user