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
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 6.3 KiB |
@@ -1 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 300 200" xml:space="preserve" height="128" width="128" version="1.1" y="0px" x="0px" viewBox="0 0 128 128"><g transform="matrix(.48321 0 0 .48321 1.4331 42.025)"><g transform="translate(-.59952 9.6841)"><g transform="matrix(1.0182 0 0 1.0182 -11.238 -66.966)"/><g transform="matrix(1.0182 0 0 1.0182 -11.238 -66.966)"><polygon points="108.5 89.227 123.46 82.428 130.8 104.18"/><polygon points="93.273 97.113 101.98 91.946 109.86 105.54"/><polygon points="76.413 108.26 84.027 102.55 87.834 116.15"/><polygon points="211.02 144.16 205.58 138.99 198.51 149.87"/><polygon points="221.09 156.12 216.73 151.5 205.31 160.2"/><polygon points="202.87 33.207 189 33.479 197.43 51.971"/><polygon points="147.66 68.287 146.3 60.4 159.63 67.471"/><polygon points="150.92 79.98 149.56 74.814 157.72 78.077"/><polygon points="242.84 71.551 244.75 65.568 233.87 70.191"/><polygon points="238.76 83.788 240.39 78.893 231.96 81.341"/></g><g transform="matrix(1.0182 0 0 1.0182 -11.238 -66.966)"><rect y="99.303" x="141.92" height="3.2393" width="26.245"/><rect y="91.525" x="141.92" height="3.2402" width="26.245"/><rect y="99.303" x="222.06" height="3.2393" width="26.244"/><rect y="91.525" x="222.06" height="3.2402" width="26.244"/><path d="m212.81 72.316h-27.188-3.0205-12.561v-2.916h13.31c1.6387-7.0176 1.9629-13.725-0.0137-17.125-0.84375-1.4453-2.0098-2.1211-3.6738-2.1211-7.6094 0-10.753 8.0469-10.884 8.3887l0.002-0.002-2.7305-1.0244c0.15625-0.41992 3.9648-10.278 13.612-10.278 2.6924 0 4.834 1.2363 6.1914 3.5703 2.4102 4.1406 2.127 11.305 0.49414 18.592h23.354c3.1025-9.1152 9.5811-13.413 20.405-13.413v2.915c-11.732 0-15.019 4.9736-17.366 10.498h12.743l-0.0293 2.9014-12.646 0.01465zM214.73 86.718l0.0186-0.0029c-3.459-5.1006-4.5547-9.4551-3.1084-14.413l-2.9707 0.01465c-1.0352 3.3008-0.62012 8.2734 1.9287 12.54h-29.675c1.8057-3.6162 3.4795-8.0254 4.7022-12.54h-3.0205c-1.3477 4.7871-3.2412 9.5244-5.3721 13.277l-0.68945 1.2129 16.652 10.482-9.375 6.1777 1.6055 2.4355 10.479-6.9082 11.312 7.3818 1.5537-2.4678-10.488-6.4883s15.682-10.187 16.461-10.684c-0.005-0.0068-0.008-0.01269-0.0127-0.01856zm-18.86 8.8086-12.317-7.7549 24.071 0.0059-11.754 7.749z"/></g><g transform="matrix(1.0182 0 0 1.0182 -11.238 -66.966)"><path d="m249.39 41.333c-0.0185-5.0703-1.5976-26.5-4.5-32.4-7.8691 2.9902-22.189 12.68-25.431 22.588-15.532-2.3193-33.042-2.0449-48.381 0.60938-2.5625-10.66-15.424-18.818-25.127-23.414-4.0928 6.9062-5.9062 22.92-5.4448 34.279-0.0176 0.01172-0.0366 0.02344-0.0542 0.03613 1.7998 47.7 25.2 77.399 55.799 95.399 31.481-17.988 53.972-53.057 53.101-97.119 0.0127 0.0078 0.0264 0.01367 0.0381 0.02148zm-26.196-9.1963c0.11426 0.02051 0.22852 0.04199 0.34375 0.06348-0.11425-0.02148-0.22851-0.04297-0.34375-0.06348zm-1.958-0.33789c0.27539 0.04395 0.55371 0.09375 0.83007 0.14062-0.27636-0.04687-0.55273-0.09473-0.83007-0.14062zm23.257 12.976c0.80957 39.69-19.44 71.279-47.79 87.48-48.118-23.977-57.183-84.711-48.977-117.29 2.2827 12.455 6.4243 20.267 15.394 24.099 19.533-5.5908 46.423-6.0322 66.231-0.56934 8.2549-6.002 11.456-15.17 13.204-23.18 2.1836 9.3213 1.9316 29.455 1.9385 29.459zM265.02 182.09c-4.9414-5.5283-14.623-8.1445-22.707-7.9512-5.7383-6.8301-39.004-41.861-39.004-41.861l-2.3057 2.9033 40.162 43.238 1.7432-0.14941c10.912-0.93457 17.115 4.9834 18.757 6.8193 1.2041 1.3467 1.9307 2.5752 2.3262 3.5391h-22.075c-50.63-26.42-95.08-45.05-142.3-49.11 0.10352-6.5713 1.2734-14.01 3.5181-22.299l-4.3433-1.1768c-2.3076 8.5205-3.5234 16.236-3.6606 23.133-4.9199-0.32617-9.8721-0.49512-14.868-0.49512-4.2368 0-8.0952 0.39356-11.614 1.0772-4.5898-4.5869-8.5-8.959-11.823-13.108 21.931-22.85 58.149-43.501 89.529-51.094l-1.02-4.397c-33.79 8.149-70.776 30.331-91.387 51.761-9.565-12.91-13.36-23.503-14.487-31.531-1.424-10.14 0.997-19.442 6.999-26.9 9.397-11.674 22.749-12.496 36.477-10.187-0.26807 2.168 0.01709 4.2402 0.88525 5.5225 3.6309 5.3623 23.144 7.2461 34.791 2.0498-8.5952-12.045-26.006-17.926-30.83-15.569-1.5981 0.78027-2.8037 2.2139-3.6299 3.8857-4.7451-0.84863-9.458-1.4805-12.903-1.4551-12.107 0.08887-21.363 4.3193-28.296 12.933-6.8018 8.4502-9.5508 18.944-7.9502 30.347 1.5161 10.8 6.8633 22.286 15.825 34.198-1.4888 1.5967-2.9277 3.1738-4.3125 4.7227-21.843 24.441-37.81 50.65-37.81 54.993v2.25h28.816l-0.50488-2.668c-1.6274-8.6006 1.6226-19.351 8.2793-27.385 4.1792-5.044 11.1-10.801 21.968-13.457 9.6631 9.4307 21.975 19.446 35.679 29.109h21.414v-2.25c0-2.5391-1.2588-4.7617-3.5449-6.2568-3.3828-2.2119-8.605-2.5166-13.402-0.88086-4.5732-5.0928-7.1372-11.896-7.6909-20.347 46.474 4.1152 90.927 22.883 141.08 49.085h27.598l0.36133-1.8086c0.51563-2.5752-0.88769-6.0254-3.752-9.2295zm-223.18-26.84c-6.8159 8.2266-10.429 19.094-9.6011 28.424h-18.153c3.6475-7.8936 18.176-30.712 39.644-53.76 2.958 3.6562 6.2529 7.3496 9.8721 11.073-10.54 3.168-17.45 9.0596-21.762 14.263z"/></g></g></g></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path d="M49.096 58.246l7.36-3.345 3.611 10.702zM41.604 62.126l4.284-2.542 3.877 6.688zM33.309 67.61l3.746-2.81 1.873 6.692zM99.536 85.273l-2.677-2.543-3.478 5.353zM104.49 91.158l-2.145-2.274-5.618 4.28zM95.526 30.684l-6.824.134 4.148 9.098zM68.362 47.943l-.669-3.88 6.559 3.479zM69.966 53.696l-.669-2.541 4.015 1.605zM115.191 49.55l.94-2.944-5.353 2.274zM113.184 55.57l.802-2.408-4.148 1.204z"/><g><path d="M65.538 63.203h12.913v1.594H65.538zM65.538 59.377h12.913v1.594H65.538zM104.968 63.203h12.912v1.594h-12.912zM104.968 59.377h12.912v1.594h-12.912zM100.417 49.926H79.374V48.49h6.548c.807-3.453.966-6.753-.006-8.426-.416-.71-.99-1.043-1.808-1.043-3.744 0-5.29 3.959-5.355 4.127l.001-.001-1.343-.504c.077-.207 1.95-5.057 6.697-5.057 1.325 0 2.378.608 3.046 1.757 1.186 2.037 1.047 5.562.243 9.147h11.49c1.527-4.485 4.714-6.6 10.04-6.6v1.435c-5.772 0-7.39 2.447-8.544 5.165h6.27l-.015 1.428-6.222.007zm.944 7.085l.01-.001c-1.702-2.51-2.242-4.652-1.53-7.091l-1.462.007c-.509 1.624-.305 4.07.95 6.17h-14.6c.888-1.78 1.711-3.949 2.313-6.17h-1.486c-.664 2.355-1.595 4.686-2.644 6.532l-.339.597 8.193 5.157-4.612 3.04.79 1.198 5.155-3.399 5.566 3.632.764-1.214-5.16-3.192s7.716-5.012 8.099-5.257c-.003-.003-.004-.006-.006-.01zm-9.279 4.334l-6.06-3.815 11.843.003-5.783 3.812z"/></g><g><path d="M118.414 34.682c-.009-2.495-.786-13.038-2.214-15.941-3.872 1.471-10.917 6.239-12.512 11.113-7.642-1.14-16.257-1.006-23.804.3-1.26-5.245-7.588-9.258-12.362-11.52-2.014 3.398-2.906 11.277-2.68 16.866l-.026.018c.886 23.468 12.399 38.08 27.453 46.936 15.49-8.85 26.555-26.104 26.126-47.783l.02.01zm-12.888-4.525l.169.031-.17-.03zm-.964-.166c.136.022.273.046.409.07l-.409-.07zm11.443 6.384c.398 19.528-9.565 35.07-23.513 43.04C68.818 67.62 64.358 37.739 68.395 21.71c1.123 6.127 3.16 9.971 7.574 11.856 9.61-2.75 22.84-2.967 32.586-.28 4.061-2.953 5.636-7.463 6.496-11.404 1.075 4.586.95 14.492.954 14.494zm10.1 67.56c-2.432-2.72-7.195-4.007-11.173-3.912-2.823-3.36-19.19-20.596-19.19-20.596l-1.134 1.429 19.76 21.273.857-.074c5.369-.46 8.42 2.452 9.229 3.355.592.663.95 1.267 1.144 1.742h-10.86c-24.911-13-46.78-22.165-70.013-24.163.05-3.233.626-6.893 1.73-10.97l-2.136-.58c-1.135 4.192-1.734 7.988-1.801 11.382-2.42-.16-4.857-.244-7.315-.244-2.085 0-3.983.194-5.714.53-2.259-2.257-4.182-4.408-5.817-6.45 10.79-11.241 28.61-21.402 44.048-25.138l-.501-2.163c-16.625 4.01-34.823 14.923-44.963 25.467-4.706-6.352-6.573-11.564-7.128-15.514-.7-4.989.49-9.565 3.444-13.235 4.623-5.743 11.192-6.148 17.946-5.012-.131 1.067.009 2.087.436 2.717 1.786 2.639 11.387 3.566 17.117 1.009-4.229-5.926-12.795-8.82-15.168-7.66-.786.384-1.38 1.09-1.786 1.912-2.335-.418-4.654-.729-6.348-.716-5.957.044-10.511 2.125-13.922 6.363-3.347 4.157-4.7 9.32-3.912 14.93.746 5.314 3.377 10.966 7.786 16.826-.732.786-1.44 1.562-2.122 2.324C7.853 90.792-.003 103.687-.003 105.824v1.107h14.177l-.248-1.313c-.8-4.232.798-9.52 4.073-13.474 2.057-2.481 5.462-5.314 10.809-6.62 4.754 4.64 10.812 9.567 17.554 14.321h10.536v-1.107c0-1.249-.62-2.342-1.744-3.078-1.665-1.088-4.234-1.238-6.594-.433-2.25-2.506-3.512-5.853-3.784-10.011 22.865 2.024 44.736 11.258 69.412 24.15h13.578l.178-.89c.254-1.267-.437-2.965-1.846-4.541zM16.298 90.729c-3.354 4.048-5.132 9.395-4.724 13.985H2.643c1.795-3.883 8.943-15.11 19.505-26.45a80.408 80.408 0 004.858 5.448c-5.186 1.559-8.586 4.457-10.707 7.017z"/></g></svg>
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 4.3 KiB |