refactor: Optimize SVG icons for nodes (#8195)

Running `svgo` to optimize icon size for nodes.
This commit is contained in:
Iván Ovejero
2024-01-02 17:40:08 +01:00
committed by GitHub
parent d01e42a2aa
commit 0ca2759d75
271 changed files with 271 additions and 2746 deletions

View File

@@ -1,14 +1 @@
<svg preserveAspectRatio="xMidYMid" version="1.1" viewBox="0 -50 256 253" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<title>WooCommerce Logo</title>
<metadata>
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<path d="m23.759 0h208.38c13.187 0 23.863 10.675 23.863 23.863v79.542c0 13.187-10.675 23.863-23.863 23.863h-74.727l10.257 25.118-45.109-25.118h-98.695c-13.187 0-23.863-10.675-23.863-23.863v-79.542c-0.10466-13.083 10.571-23.863 23.758-23.863z" fill="#7f54b3"/>
<path d="m14.578 21.75c1.4569-1.9772 3.6423-3.0179 6.5561-3.226 5.3073-0.41626 8.3252 2.0813 9.0537 7.4927 3.226 21.75 6.7642 40.169 10.511 55.259l22.79-43.395c2.0813-3.9545 4.6829-6.0358 7.8049-6.2439 4.5789-0.3122 7.3886 2.6016 8.5333 8.7415 2.6016 13.841 5.9317 25.6 9.8862 35.59 2.7057-26.433 7.2846-45.476 13.737-57.236 1.561-2.9138 3.8504-4.3707 6.8683-4.5789 2.3935-0.20813 4.5789 0.52033 6.5561 2.0813 1.9772 1.561 3.0179 3.5382 3.226 5.9317 0.10406 1.8732-0.20813 3.4341-1.0407 4.9951-4.0585 7.4927-7.3886 20.085-10.094 37.567-2.6016 16.963-3.5382 30.179-2.9138 39.649 0.20813 2.6016-0.20813 4.8911-1.2488 6.8683-1.2488 2.2894-3.122 3.5382-5.5154 3.7463-2.7057 0.20813-5.5154-1.0406-8.2211-3.8504-9.678-9.8862-17.379-24.663-22.998-44.332-6.7642 13.32-11.759 23.311-14.985 29.971-6.1398 11.759-11.343 17.795-15.714 18.107-2.8098 0.20813-5.2033-2.1854-7.2846-7.1805-5.3073-13.633-11.031-39.961-17.171-78.985-0.41626-2.7057 0.20813-5.0992 1.665-6.9724zm223.64 16.338c-3.7463-6.5561-9.2618-10.511-16.65-12.072-1.9772-0.41626-3.8504-0.62439-5.6195-0.62439-9.9902 0-18.107 5.2033-24.455 15.61-5.4114 8.8455-8.1171 18.628-8.1171 29.346 0 8.013 1.665 14.881 4.9951 20.605 3.7463 6.5561 9.2618 10.511 16.65 12.072 1.9772 0.41626 3.8504 0.62439 5.6195 0.62439 10.094 0 18.211-5.2033 24.455-15.61 5.4114-8.9496 8.1171-18.732 8.1171-29.45 0.10406-8.1171-1.665-14.881-4.9951-20.501zm-13.112 28.826c-1.4569 6.8683-4.0585 11.967-7.9089 15.402-3.0179 2.7057-5.8276 3.8504-8.4293 3.3301-2.4976-0.52033-4.5789-2.7057-6.1398-6.7642-1.2488-3.226-1.8732-6.452-1.8732-9.4699 0-2.6016 0.20813-5.2033 0.72846-7.5967 0.93659-4.2667 2.7057-8.4293 5.5154-12.384 3.4341-5.0992 7.0764-7.1805 10.823-6.452 2.4976 0.52033 4.5789 2.7057 6.1398 6.7642 1.2488 3.226 1.8732 6.452 1.8732 9.4699 0 2.7057-0.20813 5.3073-0.72846 7.7008zm-52.033-28.826c-3.7463-6.5561-9.3659-10.511-16.65-12.072-1.9772-0.41626-3.8504-0.62439-5.6195-0.62439-9.9902 0-18.107 5.2033-24.455 15.61-5.4114 8.8455-8.1171 18.628-8.1171 29.346 0 8.013 1.665 14.881 4.9951 20.605 3.7463 6.5561 9.2618 10.511 16.65 12.072 1.9772 0.41626 3.8504 0.62439 5.6195 0.62439 10.094 0 18.211-5.2033 24.455-15.61 5.4114-8.9496 8.1171-18.732 8.1171-29.45 0-8.1171-1.665-14.881-4.9951-20.501zm-13.216 28.826c-1.4569 6.8683-4.0585 11.967-7.9089 15.402-3.0179 2.7057-5.8276 3.8504-8.4293 3.3301-2.4976-0.52033-4.5789-2.7057-6.1398-6.7642-1.2488-3.226-1.8732-6.452-1.8732-9.4699 0-2.6016 0.20813-5.2033 0.72846-7.5967 0.93658-4.2667 2.7057-8.4293 5.5154-12.384 3.4341-5.0992 7.0764-7.1805 10.823-6.452 2.4976 0.52033 4.5789 2.7057 6.1398 6.7642 1.2488 3.226 1.8732 6.452 1.8732 9.4699 0.10406 2.7057-0.20813 5.3073-0.72846 7.7008z" fill="#fff"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid" viewBox="0 -50 256 253"><path fill="#7f54b3" d="M23.759 0h208.38c13.187 0 23.863 10.675 23.863 23.863v79.542c0 13.187-10.675 23.863-23.863 23.863h-74.727l10.257 25.118-45.109-25.118H23.865c-13.187 0-23.863-10.675-23.863-23.863V23.863C-.103 10.78 10.573 0 23.76 0z"/><path fill="#fff" d="M14.578 21.75c1.457-1.977 3.642-3.018 6.556-3.226q7.96-.625 9.054 7.493c3.226 21.75 6.764 40.169 10.51 55.259l22.79-43.395q3.123-5.932 7.806-6.244c4.579-.312 7.388 2.601 8.533 8.741 2.602 13.841 5.932 25.6 9.886 35.59 2.706-26.433 7.285-45.476 13.737-57.236 1.561-2.913 3.85-4.37 6.868-4.579 2.394-.208 4.58.52 6.557 2.082 1.977 1.56 3.018 3.538 3.226 5.931.104 1.874-.209 3.434-1.041 4.995-4.059 7.493-7.389 20.086-10.094 37.567-2.602 16.964-3.538 30.18-2.914 39.65q.312 3.901-1.249 6.868c-1.248 2.29-3.122 3.538-5.515 3.746-2.706.208-5.515-1.04-8.221-3.85-9.678-9.886-17.38-24.663-22.998-44.332Q57.922 86.79 53.084 96.78c-6.14 11.76-11.343 17.796-15.714 18.108-2.81.208-5.203-2.186-7.285-7.18q-7.96-20.45-17.17-78.986c-.417-2.705.207-5.099 1.664-6.972zm223.64 16.338c-3.746-6.556-9.262-10.511-16.65-12.072q-2.965-.624-5.62-.624c-9.99 0-18.107 5.203-24.455 15.61q-8.116 13.268-8.117 29.346 0 12.018 4.995 20.605c3.747 6.556 9.262 10.51 16.65 12.072q2.966.624 5.62.624c10.094 0 18.211-5.203 24.455-15.61 5.411-8.95 8.117-18.732 8.117-29.45.104-8.117-1.665-14.881-4.995-20.501m-13.112 28.826c-1.457 6.868-4.059 11.967-7.909 15.402-3.018 2.706-5.827 3.85-8.43 3.33-2.497-.52-4.578-2.706-6.139-6.764-1.249-3.226-1.873-6.452-1.873-9.47 0-2.602.208-5.203.728-7.597.937-4.266 2.706-8.429 5.516-12.384 3.434-5.099 7.076-7.18 10.823-6.452 2.497.52 4.579 2.706 6.14 6.765 1.248 3.226 1.873 6.452 1.873 9.47 0 2.705-.208 5.307-.729 7.7zm-52.033-28.826c-3.746-6.556-9.366-10.511-16.65-12.072q-2.965-.624-5.62-.624c-9.99 0-18.107 5.203-24.455 15.61q-8.116 13.268-8.117 29.346 0 12.018 4.995 20.605c3.747 6.556 9.262 10.51 16.65 12.072q2.966.624 5.62.624c10.094 0 18.211-5.203 24.455-15.61 5.411-8.95 8.117-18.732 8.117-29.45 0-8.117-1.665-14.881-4.995-20.501m-13.216 28.826c-1.457 6.868-4.059 11.967-7.909 15.402-3.018 2.706-5.828 3.85-8.43 3.33-2.497-.52-4.578-2.706-6.139-6.764-1.249-3.226-1.873-6.452-1.873-9.47 0-2.602.208-5.203.728-7.597.937-4.266 2.706-8.429 5.516-12.384 3.434-5.099 7.076-7.18 10.823-6.452 2.497.52 4.579 2.706 6.14 6.765 1.248 3.226 1.873 6.452 1.873 9.47.104 2.705-.208 5.307-.729 7.7z"/></svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB