Format SVG icon and optimize it

This commit is contained in:
Karol Manijak 2024-09-18 08:23:51 +08:00
parent b8d033cbc5
commit ba96bcddcb
1 changed files with 16 additions and 16 deletions

View File

@ -1,17 +1,17 @@
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_5404_82493)">
<rect width="36" height="36" rx="3" fill="#F6F7F7"/>
<g clip-path="url(#clip1_5404_82493)">
<path d="M25.8564 9.08257C22.302 9.08257 20.2435 9.70406 19.0697 11.0879C19.8294 8.40974 21.2333 6.39913 23.7979 4.57812C20.7588 4.9705 18.9947 6.12525 18.1403 7.77772C17.2859 6.12657 15.5219 4.97182 12.4828 4.57812C15.0473 6.39913 16.4512 8.40842 17.211 11.0879C16.0371 9.70406 13.9787 9.08257 10.4243 9.08257C14.6609 11.0721 16.2816 12.6732 17.6619 15.5423H18.6175C19.9977 12.6732 21.6198 11.0721 25.855 9.08257H25.8564Z" fill="#BBBBBB"/>
<path d="M20.9742 40.3274C22.3527 39.8165 27.4074 38.6946 27.4074 33.7983C27.4074 30.8901 24.7772 28.6965 21.7913 28.1873C23.1198 27.7533 25.0597 25.8204 25.0597 23.6518C25.0597 20.858 22.5315 19.7433 20.4646 19.311C20.4646 18.6733 22.7622 15.3828 22.7622 15.3828H13.2643C13.2643 15.3828 15.5619 18.6733 15.5619 19.311C13.4931 19.7451 10.9667 20.858 10.9667 23.6518C10.9667 25.8204 12.9067 27.7533 14.2352 28.1873C11.2474 28.6982 8.61905 30.8919 8.61905 33.7983C8.61905 38.6964 13.6737 39.8183 15.0523 40.3274C11.7838 40.6328 10.1496 41.9083 9.89568 42.9283H26.1325C25.8769 41.9083 24.2426 40.6328 20.9759 40.3274H20.9742Z" fill="#DDDDDD"/>
</g>
</g>
<defs>
<clipPath id="clip0_5404_82493">
<rect width="36" height="36" rx="3" fill="white"/>
</clipPath>
<clipPath id="clip1_5404_82493">
<rect width="38.3491" height="29.2493" fill="white" transform="translate(-1.125 1.125)"/>
</clipPath>
</defs>
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" fill="none">
<g clip-path="url(#a)">
<rect width="36" height="36" fill="#F6F7F7" rx="3"/>
<g clip-path="url(#b)">
<path fill="#BBB" d="M25.856 9.083c-3.554 0-5.613.621-6.786 2.005.76-2.678 2.163-4.689 4.728-6.51-3.04.393-4.803 1.547-5.658 3.2-.854-1.651-2.618-2.806-5.657-3.2 2.564 1.821 3.968 3.83 4.728 6.51-1.174-1.384-3.232-2.005-6.787-2.005 4.237 1.99 5.858 3.59 7.238 6.46h.956c1.38-2.87 3.002-4.47 7.237-6.46h.001Z"/>
<path fill="#DDD" d="M20.974 40.327c1.379-.51 6.433-1.632 6.433-6.529 0-2.908-2.63-5.102-5.616-5.61 1.329-.435 3.269-2.368 3.269-4.536 0-2.794-2.528-3.909-4.595-4.341 0-.638 2.297-3.928 2.297-3.928h-9.498s2.298 3.29 2.298 3.928c-2.069.434-4.595 1.547-4.595 4.34 0 2.17 1.94 4.102 3.268 4.536-2.988.511-5.616 2.705-5.616 5.611 0 4.898 5.055 6.02 6.433 6.53-3.268.305-4.902 1.58-5.156 2.6h16.236c-.255-1.02-1.89-2.295-5.156-2.6h-.002Z"/>
</g>
</g>
<defs>
<clipPath id="a">
<rect width="36" height="36" fill="#fff" rx="3"/>
</clipPath>
<clipPath id="b">
<path fill="#fff" d="M-1.125 1.125h38.349v29.249H-1.125z"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB