mirror of
https://github.com/konpa/devicon.git
synced 2025-09-01 10:25:11 +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,29 +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">
|
||||
<defs>
|
||||
<linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="16.803" y1="16.631" x2="15.013" y2="22.411" gradientTransform="matrix(4,0,0,-4,0,128)">
|
||||
<stop offset="0" style="stop-color:rgb(33.333333%,6.666667%,13.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.23" style="stop-color:rgb(33.333333%,13.333333%,20%);stop-opacity:1;"/>
|
||||
<stop offset="0.36" style="stop-color:rgb(33.333333%,20%,26.666667%);stop-opacity:1;"/>
|
||||
<stop offset="0.51" style="stop-color:rgb(40%,26.666667%,33.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.66" style="stop-color:rgb(33.333333%,40%,53.333333%);stop-opacity:1;"/>
|
||||
<stop offset="0.84" style="stop-color:rgb(13.333333%,60%,86.666667%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linear1" gradientUnits="userSpaceOnUse" x1="29.71" y1="18.983" x2="11.71" y2="14.563" gradientTransform="matrix(4,0,0,4,0,0)">
|
||||
<stop offset="0.081" style="stop-color:rgb(80%,20%,20%);stop-opacity:1;"/>
|
||||
<stop offset="0.189" style="stop-color:rgb(87.058824%,32.156863%,22.352941%);stop-opacity:1;"/>
|
||||
<stop offset="0.313" style="stop-color:rgb(94.117647%,43.137255%,24.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.421" style="stop-color:rgb(98.039216%,50.196078%,25.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.5" style="stop-color:rgb(99.607843%,52.54902%,26.27451%);stop-opacity:1;"/>
|
||||
<stop offset="0.58" style="stop-color:rgb(98.039216%,49.803922%,25.882353%);stop-opacity:1;"/>
|
||||
<stop offset="0.696" style="stop-color:rgb(93.72549%,42.352941%,24.313725%);stop-opacity:1;"/>
|
||||
<stop offset="0.833" style="stop-color:rgb(86.27451%,29.803922%,21.568627%);stop-opacity:1;"/>
|
||||
<stop offset="0.916" style="stop-color:rgb(81.176471%,21.176471%,20%);stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="surface1">
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(26.666667%,60%,86.666667%);fill-opacity:1;" d="M 8 70.199219 L 39.878906 57.320312 C 43.117188 53.042969 46.757812 49.089844 50.761719 45.519531 C 53.398438 44.121094 58.359375 44.878906 67.441406 33.601562 C 76.238281 22.601562 79.039062 13.199219 83.160156 13.199219 C 89.679688 13.199219 94.480469 27.28125 101.761719 48.601562 C 106.949219 64.882812 113.039062 80.871094 120 96.480469 C 112.398438 89.398438 105.921875 81.761719 98.519531 81.960938 C 91.640625 82.121094 84 90.28125 75.640625 100.761719 C 69 109.160156 60.199219 114.921875 56.761719 114.800781 C 56.761719 114.800781 47.878906 89.679688 40.441406 85.601562 C 37.308594 84.320312 33.753906 84.617188 30.878906 86.398438 L 8 70.160156 Z M 8 70.199219 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear0);" d="M 79.199219 16.078125 C 76.519531 19.679688 73.28125 26.28125 67.441406 33.601562 C 58.359375 44.878906 53.441406 44.121094 50.761719 45.519531 C 46.742188 49.070312 43.09375 53.027344 39.878906 57.320312 L 53.078125 66.960938 C 64.28125 51.679688 70.28125 35.121094 74.960938 24.398438 C 76.132812 21.511719 77.550781 18.726562 79.199219 16.078125 Z M 79.199219 16.078125 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear1);" d="M 83.199219 13.199219 C 74.480469 13.199219 68.519531 59.121094 36.320312 84.761719 C 45.359375 83.28125 53.199219 105.71875 56.800781 114.800781 C 72.800781 112.078125 85.601562 81.480469 98.519531 81.960938 C 105.921875 82.238281 112.398438 89.398438 120 96.480469 C 102.640625 60 94.519531 13.199219 83.199219 13.199219 Z M 83.199219 13.199219 "/>
|
||||
</g>
|
||||
</svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><defs><linearGradient id="matlab-original-a" gradientUnits="userSpaceOnUse" x1="16.803" y1="16.631" x2="15.013" y2="22.411" gradientTransform="matrix(4 0 0 -4 0 128)"><stop offset="0" stop-color="#512"/><stop offset=".23" stop-color="#523"/><stop offset=".36" stop-color="#534"/><stop offset=".51" stop-color="#645"/><stop offset=".66" stop-color="#568"/><stop offset=".84" stop-color="#29d"/></linearGradient><linearGradient id="matlab-original-b" gradientUnits="userSpaceOnUse" x1="29.71" y1="18.983" x2="11.71" y2="14.563" gradientTransform="scale(4)"><stop offset=".081" stop-color="#c33"/><stop offset=".189" stop-color="#de5239"/><stop offset=".313" stop-color="#f06e3e"/><stop offset=".421" stop-color="#fa8042"/><stop offset=".5" stop-color="#fe8643"/><stop offset=".58" stop-color="#fa7f42"/><stop offset=".696" stop-color="#ef6c3e"/><stop offset=".833" stop-color="#dc4c37"/><stop offset=".916" stop-color="#cf3633"/></linearGradient></defs><path d="M8 70.2l31.879-12.88a82.62 82.62 0 0110.883-11.8c2.636-1.399 7.597-.641 16.68-11.918 8.796-11 11.597-20.403 15.718-20.403 6.52 0 11.32 14.082 18.602 35.403A461.75 461.75 0 00120 96.48c-7.602-7.082-14.078-14.718-21.48-14.52-6.88.161-14.52 8.321-22.88 18.802C69 109.16 60.2 114.922 56.763 114.8c0 0-8.883-25.121-16.32-29.2a10.563 10.563 0 00-9.563.797L8 70.16zm0 0" fill="#49d"/><path d="M79.2 16.078C76.52 19.68 73.28 26.281 67.44 33.602c-9.082 11.277-14 10.52-16.68 11.918a78.673 78.673 0 00-10.882 11.8l13.2 9.64C64.28 51.68 70.28 35.122 74.96 24.399a54.649 54.649 0 014.238-8.32zm0 0" fill="url(#matlab-original-a)"/><path d="M83.2 13.2c-8.72 0-14.68 45.921-46.88 71.562 9.04-1.48 16.88 20.957 20.48 30.039 16-2.723 28.802-33.32 41.72-32.84 7.402.277 13.878 7.437 21.48 14.52C102.64 60 94.52 13.198 83.2 13.198zm0 0" fill="url(#matlab-original-b)"/></svg>
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 1.8 KiB |
@@ -1,6 +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(0%,0%,0%);fill-opacity:1;" d="M 123.964844 91.902344 C 116.71875 73.605469 110.703125 54.84375 103.78125 36.425781 C 100.726562 28.585938 97.734375 20.679688 93.566406 13.34375 C 91.910156 10.710938 90.328125 7.816406 87.613281 6.128906 C 86.925781 5.695312 86.15625 5.511719 85.390625 5.523438 C 84.121094 5.550781 82.855469 6.117188 81.886719 6.9375 C 78.242188 9.824219 76.082031 14.019531 73.660156 17.886719 C 69.382812 25.058594 64.871094 32.574219 57.71875 37.234375 C 54.359375 39.605469 49.957031 39.863281 46.71875 42.40625 C 42.289062 45.746094 39.277344 50.484375 35.644531 54.589844 C 34.816406 55.578125 33.535156 55.972656 32.417969 56.507812 C 21.578125 60.929688 10.738281 65.335938 0 69.980469 C 9.089844 77.011719 18.777344 83.269531 28.050781 90.058594 C 30.59375 89.554688 33.148438 88.511719 35.769531 88.976562 C 39.929688 90.277344 42.367188 94.261719 44.273438 97.90625 C 48.148438 105.847656 50.949219 114.230469 54.085938 122.476562 C 59.332031 122.101562 64.054688 119.398438 68.113281 116.21875 C 75.921875 109.894531 81.871094 101.71875 88.417969 94.171875 C 91.558594 90.871094 94.757812 86.941406 99.46875 86.023438 C 104.230469 84.871094 109.332031 86.578125 112.863281 89.859375 C 117.820312 94.289062 122.207031 99.410156 128 102.800781 C 127.222656 98.964844 125.355469 95.523438 123.964844 91.902344 Z M 42.960938 79.011719 C 38.390625 81.714844 33.535156 83.941406 28.785156 86.300781 C 21.328125 81.304688 14.0625 76.011719 6.734375 70.835938 C 16.613281 66.507812 26.644531 62.488281 36.652344 58.449219 C 41.398438 62.152344 46.289062 65.671875 51.035156 69.375 C 48.804688 72.9375 46.121094 76.246094 42.960938 79.011719 Z M 53.128906 66.597656 C 48.414062 63.058594 43.640625 59.609375 39 55.976562 C 41.976562 51.921875 45.238281 48 49.140625 44.804688 C 51.726562 43.148438 54.882812 42.6875 57.566406 41.195312 C 63.933594 38.015625 68.277344 32.183594 72.425781 26.613281 C 67.109375 40.417969 61.433594 54.277344 53.128906 66.597656 Z M 53.128906 66.597656 "/>
|
||||
</g>
|
||||
</svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path d="M123.965 91.902c-7.246-18.297-13.262-37.058-20.184-55.476-3.054-7.84-6.047-15.746-10.215-23.082-1.656-2.633-3.238-5.528-5.953-7.215a4.013 4.013 0 00-2.222-.606c-1.27.028-2.536.594-3.504 1.415-3.645 2.886-5.805 7.082-8.227 10.949-4.277 7.172-8.789 14.687-15.941 19.347-3.36 2.371-7.762 2.63-11 5.172-4.43 3.34-7.442 8.078-11.074 12.184-.829.988-2.11 1.383-3.227 1.918C21.578 60.93 10.738 65.336 0 69.98c9.09 7.032 18.777 13.29 28.05 20.079 2.544-.504 5.098-1.547 7.72-1.082 4.16 1.3 6.597 5.285 8.503 8.93 3.875 7.94 6.676 16.323 9.813 24.57 5.246-.375 9.969-3.079 14.027-6.258 7.809-6.324 13.758-14.5 20.305-22.047 3.14-3.3 6.34-7.23 11.05-8.149 4.762-1.152 9.864.555 13.395 3.836 4.957 4.43 9.344 9.551 15.137 12.942-.777-3.836-2.645-7.278-4.035-10.899zM42.96 79.012c-4.57 2.703-9.426 4.93-14.176 7.289-7.457-4.996-14.723-10.29-22.05-15.465 9.878-4.328 19.91-8.348 29.917-12.387 4.746 3.703 9.637 7.223 14.383 10.926-2.23 3.563-4.914 6.871-8.074 9.637zm10.168-12.414C48.414 63.058 43.64 59.609 39 55.977c2.977-4.055 6.238-7.977 10.14-11.172 2.587-1.657 5.743-2.117 8.426-3.61 6.368-3.18 10.711-9.011 14.86-14.582-5.317 13.805-10.992 27.664-19.297 39.985zm0 0"/></svg>
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user