💅 Format svg file with xmllint

This commit is contained in:
ful1e5
2021-04-24 16:55:17 +05:30
parent c1d4cd3884
commit 6c81376d1c
8 changed files with 197 additions and 189 deletions
+18 -17
View File
@@ -1,18 +1,19 @@
<svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
<g filter="url(#filter0_d)">
<rect x="20" y="20" width="160" height="160" rx="50" fill="#ED1515"/>
</g>
<path d="M137.72 60.125C120.475 43.766 94.1096 39.8943 72.4468 52.3753C50.7839 64.8568 40.9612 89.5786 46.5353 112.662L137.72 60.125Z" fill="white"/>
<path d="M153.465 87.3388L62.2798 139.876C79.5248 156.235 105.89 160.105 127.553 147.624C149.216 135.143 159.039 110.422 153.465 87.3388Z" fill="white"/>
<defs>
<filter id="filter0_d" x="16" y="20" width="168" height="170" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
<feOffset dy="6"/>
<feGaussianBlur stdDeviation="2"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
</defs>
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" fill="none">
<g filter="url(#filter0_d)">
<rect x="20" y="20" width="160" height="160" rx="50" fill="#ED1515"/>
</g>
<path d="M137.72 60.125C120.475 43.766 94.1096 39.8943 72.4468 52.3753C50.7839 64.8568 40.9612 89.5786 46.5353 112.662L137.72 60.125Z" fill="white"/>
<path d="M153.465 87.3388L62.2798 139.876C79.5248 156.235 105.89 160.105 127.553 147.624C149.216 135.143 159.039 110.422 153.465 87.3388Z" fill="white"/>
<defs>
<filter id="filter0_d" x="16" y="20" width="168" height="170" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
<feOffset dy="6"/>
<feGaussianBlur stdDeviation="2"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB