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 enable-background="new 0 0 64 64" height="64" viewBox="0 0 64 64" width="64" xmlns="http://www.w3.org/2000/svg"><path d="m2.7 28.8-16.3 9.3c-1.1.6-2.5.6-3.6 0l-16.3-9.3c-1.1-.6-1.8-1.8-1.8-3.1v-19c0-1.3.7-2.5 1.8-3.1l28.1-16.2v11.5l8.1 4.7c1.1.6 1.8 1.8 1.8 3.1v19c.1 1.3-.7 2.5-1.8 3.1zm-20.6-20.9c0-1.9-1.5-3.4-3.4-3.4s-3.4 1.5-3.4 3.4 1.5 3.4 3.4 3.4c.9 0 1.6-.3 2.2-.8l6 3.4c.3-.7.7-1.4 1.1-2l-6-3.4c.1-.2.1-.4.1-.6zm10.4 4.5c-1.9 0-3.4 1.5-3.4 3.4 0 .2 0 .4.1.6l-8.2 4.7c-.6-.5-1.4-.8-2.2-.8-1.9 0-3.4 1.5-3.4 3.4s1.5 3.4 3.4 3.4 3.4-1.5 3.4-3.4c0-.2 0-.4-.1-.6l8.2-4.7c.6.5 1.4.9 2.3.9 1.9 0 3.4-1.5 3.4-3.4-.1-1.9-1.6-3.5-3.5-3.5z" fill="#042b48" transform="matrix(1.25 0 0 -1.25 51.203755 48.267815)"/></svg>
<svg height="64" width="64" xmlns="http://www.w3.org/2000/svg"><path d="M54.579 12.268 34.204.643a4.781 4.781 0 0 0-4.5 0L9.329 12.268c-1.375.75-2.25 2.25-2.25 3.875v23.75c0 1.625.875 3.125 2.25 3.875l35.125 20.25V49.643l10.125-5.875c1.375-.75 2.25-2.25 2.25-3.875v-23.75c.125-1.625-.875-3.125-2.25-3.875zm-25.75 26.125c0 2.375-1.875 4.25-4.25 4.25s-4.25-1.875-4.25-4.25 1.875-4.25 4.25-4.25c1.125 0 2 .375 2.75 1l7.5-4.25c.375.875.875 1.75 1.375 2.5l-7.5 4.25c.125.25.125.5.125.75zm13-5.625a4.215 4.215 0 0 1-4.25-4.25c0-.25 0-.5.125-.75l-10.25-5.875c-.75.625-1.75 1-2.75 1-2.375 0-4.25-1.875-4.25-4.25s1.875-4.25 4.25-4.25 4.25 1.875 4.25 4.25c0 .25 0 .5-.125.75l10.25 5.875c.75-.625 1.75-1.125 2.875-1.125a4.215 4.215 0 0 1 4.25 4.25c-.125 2.375-2 4.375-4.375 4.375z" fill="#042b48"/></svg>

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 793 B