1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-31 02:00:39 +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,30 +1 @@
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 128 128" xml:space="preserve">
<g transform="matrix(0.65762897,0,0,0.65762897,34.875476,4.8752901)">
<g>
<path fill="#0b5a9d" d="M44.1,183.26c-49.68,0-91.8-41.96-92.19-91.95c-0.17-24.36,9.41-47.77,26.62-65.02
C-4.16,8.56,19.55-1.5,44.34-1.63l0,0c24.34-0.02,47.68,9.67,64.85,26.93c17.45,17.01,27.39,40.29,27.61,64.66
c0.23,51.1-40.85,92.79-91.95,93.31H44.1z M44.39,3.21C20.9,3.35-1.56,12.89-17.97,29.71c-16.32,16.31-25.42,38.48-25.29,61.56
c0.36,47.38,40.29,87.11,87.33,87.11h0.63c48.45-0.44,87.44-39.94,87.26-88.39c-0.22-23.09-9.64-45.13-26.18-61.24
C89.55,12.37,67.44,3.17,44.39,3.21z"/>
<path fill="#0b5a9d" d="M-27.35,117.86V63.85h13.14v4.84h-6.97v44.43h6.97v4.84L-27.35,117.86z"/>
<path fill="#0b5a9d" d="M17.24,90.32c0,9.85-5.98,15.46-14.08,15.46s-13.5-6.32-13.5-14.95
c0-9.03,5.66-15.39,13.94-15.39S17.24,82.07,17.24,90.32z M-4.68,90.76c0,5.98,3,10.72,8.15,10.72s8.11-4.84,8.11-10.94
c0-5.54-2.73-10.77-8.11-10.77s-8.2,5.06-8.2,11.11L-4.68,90.76z"/>
<path fill="#0b5a9d" d="M21.79,76.46c2.57-0.44,5.18-0.66,7.79-0.65c2.93-0.29,5.88,0.37,8.42,1.86
c1.94,1.14,3.11,3.24,3.05,5.49c-0.07,2.94-2.02,5.51-4.84,6.36l0,0c3.45,0.7,5.93,3.74,5.93,7.26c0.04,2.34-1.01,4.58-2.83,6.05
c-2.08,1.84-5.54,2.73-10.89,2.73c-2.2,0.01-4.4-0.12-6.58-0.39L21.79,76.46z M27.11,88.05h2.73c3.7,0,5.78-1.74,5.78-4.23
c0-2.49-2.08-4.02-5.49-4.02c-1.02-0.03-2.04,0.04-3.05,0.22L27.11,88.05z M27.11,101.55c0.94,0.1,1.89,0.14,2.83,0.12
c3.44,0,6.48-1.31,6.48-4.84s-2.95-4.84-6.65-4.84h-2.66V101.55z"/>
<path fill="#0b5a9d" d="M52.71,76.07h5.35v19.09c0,8.11-3.92,10.82-9.68,10.82c-1.54-0.01-3.07-0.27-4.52-0.77l0.65-4.31
c1.07,0.34,2.19,0.51,3.32,0.53c3.05,0,4.84-1.4,4.84-6.48L52.71,76.07z"/>
<path fill="#0b5a9d" d="M73.28,91.97v3.7H62.15v-3.7H73.28z"/>
<path fill="#0b5a9d" d="M99.27,104.55c-2.41,0.96-4.99,1.4-7.57,1.31c-9.32,0-14.98-5.83-14.98-14.76
c-0.43-8.14,5.82-15.09,13.96-15.52c0.57-0.03,1.15-0.03,1.72,0.01c2.49-0.1,4.96,0.34,7.26,1.31l-1.19,4.26
c-1.82-0.77-3.78-1.16-5.76-1.14c-5.98,0-10.28,3.75-10.28,10.82c0,6.44,3.8,10.6,10.24,10.6c2,0.03,3.98-0.34,5.83-1.09
L99.27,104.55z"/>
<path fill="#0b5a9d" d="M116.06,63.7v54.15h-13.14v-4.84h6.97V68.54h-6.97V63.7H116.06z"/>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><g fill="#0b5a9d"><path d="M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0117.506-42.759 60.939 60.939 0 0143.279-18.36 60.081 60.081 0 0142.647 17.71 60.145 60.145 0 0118.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.774 57.774 0 00-41.01 17.427 56.775 56.775 0 00-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 00-17.217-40.273A56.7 56.7 0 0064.068 6.986z"/><path d="M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183l-8.642-.066zM46.213 64.272c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785zm-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307l.033-.08zM49.205 55.158c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 015.537 1.223 4.062 4.062 0 012.006 3.61 4.48 4.48 0 01-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.016 5.016 0 01-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a33.966 33.966 0 01-4.327-.257l-.033-18.88zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782 0-1.638-1.368-2.644-3.61-2.644a9.779 9.779 0 00-2.006.145l.02 5.28zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75v6.287zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.313 9.313 0 01-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zM83.067 65.357v2.434h-7.32v-2.434h7.32zM100.158 73.63c-1.585.632-3.281.921-4.978.862-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.112 11.112 0 014.775.862l-.783 2.801a9.476 9.476 0 00-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.806 9.806 0 003.834-.717l.506 2.762zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z"/></g></svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB