Optimize svg (#1653)

* add optimize-svg command to npm scripts

* run svgo over all svg assets in repo
This commit is contained in:
Konstantin Nosov
2021-04-17 18:17:16 +03:00
committed by GitHub
parent c80b0ebfd9
commit 5e7f27d137
74 changed files with 75 additions and 842 deletions

View File

@@ -1,11 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="60px" height="60px" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>monday_node_icon</title>
<g id="monday_node_icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<g id="Group" transform="translate(1.000000, 12.000000)">
<path d="M7.18417187,35.3926154 C4.56973438,35.388 2.16364063,33.9646154 0.898828125,31.6744615 C-0.365984375,29.3843077 -0.290390625,26.5864615 1.0951875,24.3673846 L14.0401563,3.63692308 C15.3953125,1.45569231 17.8272188,0.168923077 20.3955625,0.261230769 C22.9639062,0.353538462 25.2879531,1.812 26.4928438,4.08461538 C27.6977344,6.35723077 27.5990937,9.10246154 26.2347187,11.2846154 L13.2860625,32.0123077 C11.9705469,34.1169231 9.66309375,35.3944615 7.18325,35.3907692 L7.18417187,35.3926154 Z" id="Path" fill="#FF3D57"></path>
<path d="M29.4935469,35.3926154 C26.8772656,35.3926154 24.4674844,33.9710769 23.1989844,31.68 C21.9304844,29.3889231 22.0051562,26.5883077 23.3925781,24.3673846 L36.3467656,3.63692308 C37.6558281,1.32923077 40.1172344,-0.0572307692 42.7584062,0.00276923077 C45.3995781,0.0627692308 47.7964531,1.56738462 48.9995,3.92215385 C50.2025469,6.27692308 50.0200156,9.10338462 48.5228906,11.2836923 L35.5935937,32.0123077 C34.2780781,34.1169231 31.970625,35.3944615 29.4907812,35.3907692 L29.4935469,35.3926154 Z" id="Path" fill="#FFCB00"></path>
<path d="M44.5910937,28.3569231 C44.5910937,24.4615385 47.80475,21.3230769 51.7955469,21.3230769 C55.7863437,21.3230769 59,24.4596923 59,28.3569231 C59,32.2541538 55.7863437,35.3907692 51.7955469,35.3907692 C47.80475,35.3907692 44.5910937,32.2541538 44.5910937,28.3569231 L44.5910937,28.3569231 Z" id="Path" fill="#00D647"></path>
</g>
</g>
</svg>
<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M8.184 47.393A7.195 7.195 0 0 1 1.9 43.674a7.215 7.215 0 0 1 .196-7.307l12.945-20.73a7.182 7.182 0 0 1 6.356-3.376 7.196 7.196 0 0 1 6.097 3.824 7.212 7.212 0 0 1-.258 7.2L14.286 44.012a7.186 7.186 0 0 1-6.103 3.379l.001.002z" fill="#FF3D57"/><path d="M30.494 47.393a7.196 7.196 0 0 1-6.295-3.713 7.212 7.212 0 0 1 .194-7.313l12.954-20.73a7.174 7.174 0 0 1 6.411-3.634A7.193 7.193 0 0 1 50 15.923a7.211 7.211 0 0 1-.476 7.36l-12.93 20.73a7.186 7.186 0 0 1-6.102 3.378l.003.002z" fill="#FFCB00"/><path d="M45.591 40.357c0-3.895 3.214-7.034 7.205-7.034 3.99 0 7.204 3.137 7.204 7.034s-3.214 7.034-7.204 7.034c-3.991 0-7.205-3.137-7.205-7.034z" fill="#00D647"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 822 B