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,19 +1 @@
<svg width="195" height="195" xmlns="http://www.w3.org/2000/svg">
<g>
<title>background</title>
<rect fill="none" id="canvas_background" height="197" width="197" y="-1" x="-1"/>
</g>
<g>
<title>Layer 1</title>
<g fill="none" id="svg_1" class="mark">
<polygon stroke="#619E73" fill="#4e878c" id="svg_2" points="140.60000610351562,126.91817474365234 140.60000610351562,126.91817474365234 140.60000610351562,162.91819763183594 171.89999389648438,144.8181915283203 171.8000030517578,108.71817779541016 140.60000610351562,90.71817779541016 " class="st0"/>
<polygon stroke="#619E73" fill="#4e878c" id="svg_3" points="65.80000305175781,170.0181884765625 97,188.0181884765625 128.1999969482422,170.0181884765625 128.1999969482422,134.11819458007812 " class="st0"/>
<polygon stroke="#619E73" fill="#4e878c" id="svg_4" points="171.8000030517578,94.31817626953125 171.8000030517578,58.418182373046875 140.60000610351562,40.418182373046875 109.5,58.31818389892578 " class="st0"/>
<polygon stroke="#619E73" fill="#4e878c" id="svg_5" points="65.80000305175781,83.61817932128906 65.80000305175781,119.61817932128906 97,137.61819458007812 128.1999969482422,119.71817779541016 128.1999969482422,83.61817932128906 97,65.61817932128906 " class="st0"/>
<polygon stroke="#619E73" fill="#4e878c" id="svg_6" points="22.100000381469727,108.81817626953125 22.100000381469727,144.8181915283203 53.29999923706055,162.8181915283203 84.5,144.8181915283203 " class="st0"/>
<polygon stroke="#619E73" fill="#4e878c" id="svg_7" points="53.29999923706055,40.418182373046875 22.100000381469727,58.418182373046875 22.100000381469727,94.41817474365234 53.29999923706055,112.41817474365234 " class="st0"/>
<polygon stroke="#619E73" fill="#4e878c" id="svg_8" points="97,51.21818542480469 97,51.21818542480469 128.1999969482422,33.21818161010742 97,15.218181610107422 65.80000305175781,33.21818161010742 65.80000305175781,69.21817779541016 " class="st0"/>
</g>
</g>
</svg>
<svg width="195" height="195" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M-1-1h197v197H-1z"/><g><g fill="none" class="mark"><path stroke="#619E73" fill="#4e878c" class="st0" d="M140.6 126.918v36l31.3-18.1-.1-36.1-31.2-18zM65.8 170.018l31.2 18 31.2-18v-35.9zM171.8 94.318v-35.9l-31.2-18-31.1 17.9zM65.8 83.618v36l31.2 18 31.2-17.9v-36.1l-31.2-18zM22.1 108.818v36l31.2 18 31.2-18zM53.3 40.418l-31.2 18v36l31.2 18zM97 51.218l31.2-18-31.2-18-31.2 18v36z"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 479 B