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 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><style>.cls-1{fill:#f3d02f;}.cls-2{fill:#fff;}</style></defs><title>th-logo</title><path class="cls-1" d="M290,150A140,140,0,1,1,150,10,140,140,0,0,1,290,150"/><path class="cls-2" d="M204.62,210.6a15.13,15.13,0,0,1-6.68,1.38,17.49,17.49,0,0,1-16.11-10.93L177,189.45l-7.31-18.28a5.05,5.05,0,0,0-.7-2.12l-10.1-25.31c16.15,2.86,45.93,20.16,55.68,43.72,3.48,9.49-.76,19.66-9.9,23.14m-54.87,27.21c-11.58,0-21-8.5-24.85-21.5l49.85.16c-3.9,13.33-13.41,21.38-25,21.34m-48-26.14a14.3,14.3,0,0,1-6.67-1.43c-8.76-3.89-13.29-14.09-9.4-22.85,9.91-23.85,39.81-40.95,56-43.36L131,170l-7.79,19.29-5,11.57a18.34,18.34,0,0,1-16.53,10.83m42.63-45.16L150,152.84l5.57,13.71Zm-7.79,19.29,3.19-8.06,20.37.07,3.13,8.08Zm-5,11.57,36.17.12,3.13,8.09-42.48-.15Zm18.56-90.87c9.48,0,17.53,9.18,17.5,16.56,0,8.77-14.43,9.43-17.23,9.41-3.16,0-17.21-.4-17.18-9.53-.67-7.38,7.43-16.48,16.91-16.44"/><path class="cls-2" d="M136.88,106.1a3.75,3.75,0,0,1-3.39-2.15l-5.81-12.34a3.74,3.74,0,1,1,6.77-3.19l5.81,12.34a3.74,3.74,0,0,1-1.79,5,3.79,3.79,0,0,1-1.59.36"/><path class="cls-2" d="M163.12,106.1a3.79,3.79,0,0,1-1.59-.36,3.74,3.74,0,0,1-1.79-5l5.82-12.35a3.74,3.74,0,1,1,6.77,3.2L166.51,104a3.75,3.75,0,0,1-3.39,2.15"/><path class="cls-2" d="M204.36,157.81a3.74,3.74,0,0,1-3.26-5.56l14.41-25.87-32.87-56.7H117.36L84.54,126.3l15.66,25.83A3.74,3.74,0,0,1,93.8,156L77,128.28a3.72,3.72,0,0,1,0-3.81l35-60.41a3.77,3.77,0,0,1,3.24-1.87h69.6A3.75,3.75,0,0,1,188,64.06l35,60.41a3.73,3.73,0,0,1,0,3.7l-15.44,27.72a3.75,3.75,0,0,1-3.28,1.92"/></svg>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><style>.cls-2{fill:#fff}</style></defs><path d="M290 150A140 140 0 1 1 150 10a140 140 0 0 1 140 140" style="fill:#f3d02f"/><path class="cls-2" d="M204.62 210.6a15.13 15.13 0 0 1-6.68 1.38 17.49 17.49 0 0 1-16.11-10.93l-4.83-11.6-7.31-18.28a5.05 5.05 0 0 0-.7-2.12l-10.1-25.31c16.15 2.86 45.93 20.16 55.68 43.72 3.48 9.49-.76 19.66-9.9 23.14m-54.87 27.21c-11.58 0-21-8.5-24.85-21.5l49.85.16c-3.9 13.33-13.41 21.38-25 21.34m-48-26.14a14.3 14.3 0 0 1-6.67-1.43c-8.76-3.89-13.29-14.09-9.4-22.85 9.91-23.85 39.81-40.95 56-43.36L131 170l-7.79 19.29-5 11.57a18.34 18.34 0 0 1-16.53 10.83m42.63-45.16 5.69-13.69 5.57 13.71zm-7.79 19.29 3.19-8.06 20.37.07 3.13 8.08zm-5 11.57 36.17.12 3.13 8.09-42.48-.15zm18.56-90.87c9.48 0 17.53 9.18 17.5 16.56 0 8.77-14.43 9.43-17.23 9.41-3.16 0-17.21-.4-17.18-9.53-.67-7.38 7.43-16.48 16.91-16.44M136.88 106.1a3.75 3.75 0 0 1-3.39-2.15l-5.81-12.34a3.74 3.74 0 1 1 6.77-3.19l5.81 12.34a3.74 3.74 0 0 1-1.79 5 3.79 3.79 0 0 1-1.59.36M163.12 106.1a3.79 3.79 0 0 1-1.59-.36 3.74 3.74 0 0 1-1.79-5l5.82-12.35a3.74 3.74 0 1 1 6.77 3.2L166.51 104a3.75 3.75 0 0 1-3.39 2.15"/><path class="cls-2" d="M204.36 157.81a3.74 3.74 0 0 1-3.26-5.56l14.41-25.87-32.87-56.7h-65.28L84.54 126.3l15.66 25.83a3.74 3.74 0 0 1-6.4 3.87L77 128.28a3.72 3.72 0 0 1 0-3.81l35-60.41a3.77 3.77 0 0 1 3.24-1.87h69.6a3.75 3.75 0 0 1 3.16 1.87l35 60.41a3.73 3.73 0 0 1 0 3.7l-15.44 27.72a3.75 3.75 0 0 1-3.28 1.92"/></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB