🔥 Formate svg with xmllint

This commit is contained in:
ful1e5 2021-03-31 16:59:08 +05:30
parent 15c1fbca19
commit b34d7938aa
44 changed files with 1065 additions and 3271 deletions

View file

@ -1,96 +1,31 @@
<svg
width="200"
height="200"
viewBox="0 0 200 200"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g filter="url(#filter0_d)">
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M49 143.925L98.8211 20.5781L151.986 146.114L99.7374 125.026L96.1848 124.703L49 143.925Z"
fill="white"
/>
</g>
<g filter="url(#filter1_d)">
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M115.578 178.968L83.5 178.774L84.6148 78.3154L117.36 78.6403L115.578 178.968Z"
fill="white"
/>
</g>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M108.554 165.415L91.8096 165.277L92.1461 100.001L108.87 100.121L108.554 165.415Z"
fill="black"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M99.2438 41.6055L64.5454 128.455L96.2137 115.502L99.9286 115.763L136.511 130.69L99.2438 41.6055Z"
fill="black"
/>
<defs>
<filter
id="filter0_d"
x="41"
y="12.5781"
width="118.986"
height="141.535"
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 />
<feGaussianBlur stdDeviation="4" />
<feColorMatrix
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"
/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow" />
<feBlend
mode="normal"
in="SourceGraphic"
in2="effect1_dropShadow"
result="shape"
/>
</filter>
<filter
id="filter1_d"
x="75.5"
y="70.3154"
width="49.8596"
height="116.653"
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 />
<feGaussianBlur stdDeviation="4" />
<feColorMatrix
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 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)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M49 143.925L98.8211 20.5781L151.986 146.114L99.7374 125.026L96.1848 124.703L49 143.925Z" fill="white"/>
</g>
<g filter="url(#filter1_d)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M115.578 178.968L83.5 178.774L84.6148 78.3154L117.36 78.6403L115.578 178.968Z" fill="white"/>
</g>
<path fill-rule="evenodd" clip-rule="evenodd" d="M108.554 165.415L91.8096 165.277L92.1461 100.001L108.87 100.121L108.554 165.415Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M99.2438 41.6055L64.5454 128.455L96.2137 115.502L99.9286 115.763L136.511 130.69L99.2438 41.6055Z" fill="black"/>
<defs>
<filter id="filter0_d" x="41" y="12.5781" width="118.986" height="141.535" 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/>
<feGaussianBlur stdDeviation="4"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter1_d" x="75.5" y="70.3154" width="49.8596" height="116.653" 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/>
<feGaussianBlur stdDeviation="4"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 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: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before After
Before After