1
0
mirror of https://github.com/konpa/devicon.git synced 2025-09-01 18:32:59 +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 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path fill="#646464" d="M52.458 61.139c0-4.071-1.161-6.161-3.483-6.275-.924-.045-1.826.103-2.703.443-.701.251-1.172.499-1.42.75v9.718c1.485.932 2.804 1.364 3.954 1.297 2.433-.162 3.652-2.137 3.652-5.933zm2.863.169c0 2.068-.484 3.785-1.46 5.15-1.087 1.546-2.594 2.34-4.521 2.385-1.453.047-2.949-.409-4.488-1.363v8.833l-2.491-.889v-19.606c.409-.5.935-.931 1.572-1.296 1.482-.864 3.284-1.308 5.404-1.33l.036.035c1.938-.024 3.431.771 4.479 2.385.979 1.48 1.469 3.377 1.469 5.696z"/><path fill="#646464" d="M70.544 67.104c0 2.773-.278 4.694-.834 5.763-.559 1.068-1.622 1.921-3.191 2.557-1.272.501-2.649.773-4.126.819l-.412-1.569c1.501-.204 2.559-.409 3.172-.613 1.207-.408 2.036-1.035 2.491-1.875.365-.684.545-1.988.545-3.921v-.648c-1.703.773-3.488 1.158-5.354 1.158-1.227 0-2.309-.385-3.24-1.158-1.046-.842-1.57-1.911-1.57-3.205v-10.367l2.491-.853v10.435c0 1.114.359 1.973 1.079 2.574.72.603 1.651.892 2.793.87 1.142-.024 2.365-.467 3.665-1.33v-12.173h2.491v13.536z"/><path fill="#646464" d="M80.267 68.706c-.297.024-.569.035-.82.035-1.409 0-2.507-.334-3.292-1.008-.783-.674-1.175-1.603-1.175-2.788v-9.811h-1.706v-1.566h1.706v-4.161l2.488-.886v5.047h2.798v1.566h-2.798v9.743c0 .935.25 1.597.752 1.982.43.32 1.115.502 2.046.549v1.298z"/><path fill="#646464" d="M95.347 68.502h-2.49v-9.614c0-.978-.229-1.82-.684-2.524-.526-.795-1.256-1.193-2.194-1.193-1.142 0-2.57.603-4.284 1.808v11.524h-2.491v-22.98l2.491-.785v10.467c1.591-1.158 3.33-1.738 5.218-1.738 1.319 0 2.387.444 3.205 1.33.82.886 1.229 1.989 1.229 3.308v10.397z"/><path fill="#646464" d="M108.586 60.747c0-1.565-.297-2.856-.888-3.879-.704-1.245-1.796-1.902-3.273-1.97-2.731.157-4.094 2.114-4.094 5.864 0 1.72.284 3.155.856 4.308.73 1.47 1.826 2.193 3.287 2.169 2.741-.02 4.112-2.184 4.112-6.492zm2.728.016c0 2.227-.57 4.079-1.707 5.56-1.25 1.656-2.978 2.487-5.183 2.487-2.186 0-3.889-.831-5.118-2.487-1.114-1.48-1.671-3.333-1.671-5.56 0-2.093.603-3.853 1.808-5.287 1.272-1.521 2.945-2.283 5.014-2.283 2.068 0 3.752.763 5.049 2.283 1.205 1.434 1.808 3.194 1.808 5.287z"/><path fill="#646464" d="M125.593 68.502h-2.491v-10.159c0-1.114-.335-1.984-1.006-2.61-.67-.625-1.564-.928-2.679-.903-1.183.022-2.308.41-3.376 1.159v12.514h-2.491v-12.822c1.433-1.044 2.752-1.726 3.957-2.044 1.136-.297 2.139-.444 3.003-.444.591 0 1.147.058 1.67.172.979.226 1.774.646 2.387 1.261.684.682 1.025 1.5 1.025 2.456v11.42z"/><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="54.862" y1="755.717" x2="85.342" y2="729.493" gradientTransform="matrix(.563 0 0 -.568 -29.215 475.753)"><stop offset="0" stop-color="#5A9FD4"/><stop offset="1" stop-color="#306998"/></linearGradient><path fill="url(#a)" d="M17.761 45.612c-1.282.007-2.505.116-3.583.307-3.172.561-3.748 1.734-3.748 3.896v2.857h7.496v.952h-10.309000000000001c-2.179 0-4.086 1.31-4.683 3.8-.688 2.856-.719 4.639 0 7.619.533 2.219 1.805 3.801 3.984 3.801h2.577v-3.424c0-2.475 2.141-4.657 4.683-4.657h7.488c2.084 0 3.748-1.717 3.748-3.809v-7.139c0-2.031-1.714-3.558-3.748-3.896-1.288-.214-2.624-.312-3.905-.307zm-4.054 2.299c.774 0 1.407.643 1.407 1.433 0 .787-.632 1.425-1.407 1.425-.777 0-1.406-.638-1.406-1.425-.001-.79.629-1.433 1.406-1.433z"/><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="97.124" y1="713.621" x2="86.24" y2="729.02" gradientTransform="matrix(.563 0 0 -.568 -29.215 475.753)"><stop offset="0" stop-color="#FFD43B"/><stop offset="1" stop-color="#FFE873"/></linearGradient><path fill="url(#b)" d="M26.349 53.625v3.329c0 2.58-2.188 4.752-4.683 4.752h-7.488c-2.051 0-3.748 1.756-3.748 3.81v7.139c0 2.03 1.767 3.227 3.748 3.809 2.373.698 4.648.824 7.488 0 1.887-.546 3.748-1.646 3.748-3.809v-2.857h-7.488v-.952h11.236c2.179 0 2.991-1.52 3.749-3.801.782-2.348.749-4.606 0-7.619-.539-2.168-1.567-3.8-3.749-3.8h-2.813zm-4.212 18.077c.777 0 1.407.636 1.407 1.424 0 .79-.629 1.432-1.407 1.432-.774 0-1.406-.642-1.406-1.432 0-.788.632-1.424 1.406-1.424z"/><radialGradient id="c" cx="1368.324" cy="340.26" r="8.119" gradientTransform="matrix(0 -.24 -1.055 0 376.883 409.576)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#B8B8B8" stop-opacity=".498"/><stop offset="1" stop-color="#7F7F7F" stop-opacity="0"/></radialGradient><path opacity=".444" fill="url(#c)" enable-background="new" d="M28.057 81.315c0 1.075-4.498 1.948-10.045 1.948-5.548 0-10.046-.873-10.046-1.948 0-1.076 4.498-1.948 10.046-1.948 5.548 0 10.045.872 10.045 1.948z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path fill="#646464" d="M52.458 61.139c0-4.071-1.161-6.161-3.483-6.275a6.526 6.526 0 00-2.703.443c-.701.251-1.172.499-1.42.75v9.718c1.485.932 2.804 1.364 3.954 1.297 2.433-.162 3.652-2.137 3.652-5.933zm2.863.169c0 2.068-.484 3.785-1.46 5.15-1.087 1.546-2.594 2.34-4.521 2.385-1.453.047-2.949-.409-4.488-1.363v8.833l-2.491-.889V55.818c.409-.5.935-.931 1.572-1.296 1.482-.864 3.284-1.308 5.404-1.33l.036.035c1.938-.024 3.431.771 4.479 2.385.979 1.48 1.469 3.377 1.469 5.696zM70.544 67.104c0 2.773-.278 4.694-.834 5.763-.559 1.068-1.622 1.921-3.191 2.557-1.272.501-2.649.773-4.126.819l-.412-1.569c1.501-.204 2.559-.409 3.172-.613 1.207-.408 2.036-1.035 2.491-1.875.365-.684.545-1.988.545-3.921v-.648a12.81 12.81 0 01-5.354 1.158c-1.227 0-2.309-.385-3.24-1.158-1.046-.842-1.57-1.911-1.57-3.205V54.045l2.491-.853v10.435c0 1.114.359 1.973 1.079 2.574.72.603 1.651.892 2.793.87 1.142-.024 2.365-.467 3.665-1.33V53.568h2.491v13.536zM80.267 68.706c-.297.024-.569.035-.82.035-1.409 0-2.507-.334-3.292-1.008-.783-.674-1.175-1.603-1.175-2.788v-9.811h-1.706v-1.566h1.706v-4.161l2.488-.886v5.047h2.798v1.566h-2.798v9.743c0 .935.25 1.597.752 1.982.43.32 1.115.502 2.046.549v1.298zM95.347 68.502h-2.49v-9.614c0-.978-.229-1.82-.684-2.524-.526-.795-1.256-1.193-2.194-1.193-1.142 0-2.57.603-4.284 1.808v11.524h-2.491v-22.98l2.491-.785v10.467c1.591-1.158 3.33-1.738 5.218-1.738 1.319 0 2.387.444 3.205 1.33.82.886 1.229 1.989 1.229 3.308v10.397zM108.586 60.747c0-1.565-.297-2.856-.888-3.879-.704-1.245-1.796-1.902-3.273-1.97-2.731.157-4.094 2.114-4.094 5.864 0 1.72.284 3.155.856 4.308.73 1.47 1.826 2.193 3.287 2.169 2.741-.02 4.112-2.184 4.112-6.492zm2.728.016c0 2.227-.57 4.079-1.707 5.56-1.25 1.656-2.978 2.487-5.183 2.487-2.186 0-3.889-.831-5.118-2.487-1.114-1.48-1.671-3.333-1.671-5.56 0-2.093.603-3.853 1.808-5.287 1.272-1.521 2.945-2.283 5.014-2.283 2.068 0 3.752.763 5.049 2.283 1.205 1.434 1.808 3.194 1.808 5.287zM125.593 68.502h-2.491V58.343c0-1.114-.335-1.984-1.006-2.61-.67-.625-1.564-.928-2.679-.903-1.183.022-2.308.41-3.376 1.159v12.514h-2.491V55.681c1.433-1.044 2.752-1.726 3.957-2.044 1.136-.297 2.139-.444 3.003-.444.591 0 1.147.058 1.67.172.979.226 1.774.646 2.387 1.261.684.682 1.025 1.5 1.025 2.456v11.42z"/><linearGradient id="python-original-wordmark-a" gradientUnits="userSpaceOnUse" x1="54.862" y1="755.717" x2="85.342" y2="729.493" gradientTransform="matrix(.563 0 0 -.568 -29.215 475.753)"><stop offset="0" stop-color="#5A9FD4"/><stop offset="1" stop-color="#306998"/></linearGradient><path fill="url(#python-original-wordmark-a)" d="M17.761 45.612a21.479 21.479 0 00-3.583.307c-3.172.561-3.748 1.734-3.748 3.896v2.857h7.496v.952H7.617c-2.179 0-4.086 1.31-4.683 3.8-.688 2.856-.719 4.639 0 7.619.533 2.219 1.805 3.801 3.984 3.801h2.577V65.42c0-2.475 2.141-4.657 4.683-4.657h7.488c2.084 0 3.748-1.717 3.748-3.809v-7.139c0-2.031-1.714-3.558-3.748-3.896a23.525 23.525 0 00-3.905-.307zm-4.054 2.299c.774 0 1.407.643 1.407 1.433 0 .787-.632 1.425-1.407 1.425a1.415 1.415 0 01-1.406-1.425c-.001-.79.629-1.433 1.406-1.433z"/><linearGradient id="python-original-wordmark-b" gradientUnits="userSpaceOnUse" x1="97.124" y1="713.621" x2="86.24" y2="729.02" gradientTransform="matrix(.563 0 0 -.568 -29.215 475.753)"><stop offset="0" stop-color="#FFD43B"/><stop offset="1" stop-color="#FFE873"/></linearGradient><path fill="url(#python-original-wordmark-b)" d="M26.349 53.625v3.329c0 2.58-2.188 4.752-4.683 4.752h-7.488c-2.051 0-3.748 1.756-3.748 3.81v7.139c0 2.03 1.767 3.227 3.748 3.809 2.373.698 4.648.824 7.488 0 1.887-.546 3.748-1.646 3.748-3.809v-2.857h-7.488v-.952h11.236c2.179 0 2.991-1.52 3.749-3.801.782-2.348.749-4.606 0-7.619-.539-2.168-1.567-3.8-3.749-3.8h-2.813zm-4.212 18.077c.777 0 1.407.636 1.407 1.424a1.42 1.42 0 01-1.407 1.432c-.774 0-1.406-.642-1.406-1.432 0-.788.632-1.424 1.406-1.424z"/><radialGradient id="python-original-wordmark-c" cx="1368.324" cy="340.26" r="8.119" gradientTransform="matrix(0 -.24 -1.055 0 376.883 409.576)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#B8B8B8" stop-opacity=".498"/><stop offset="1" stop-color="#7F7F7F" stop-opacity="0"/></radialGradient><path opacity=".444" fill="url(#python-original-wordmark-c)" d="M28.057 81.315c0 1.075-4.498 1.948-10.045 1.948-5.548 0-10.046-.873-10.046-1.948 0-1.076 4.498-1.948 10.046-1.948 5.548 0 10.045.872 10.045 1.948z"/></svg>

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB