Tidied up SVG codes

This commit is contained in:
Shuqi 2023-11-16 02:37:49 +08:00
parent 752cb63274
commit 9368eb444b
2 changed files with 9 additions and 18 deletions

View File

@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9" class="pixelicon-apple-logo"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9" class="pixelicon-apple-logo">
<rect x="5" y="0" fill="#343340" width="1" height="1"/> <rect fill="#343340" x="5" y="0" width="1" height="1"/>
<rect x="4" y="1" fill="#343340" width="1" height="1"/> <rect fill="#343340" x="4" y="1" width="1" height="1"/>
<polygon fill="#343340" points="7,5 8,5 8,4 7,4 7,3 5,3 5,4 4,4 4,3 2,3 2,4 1,4 1,8 2,8 2,9 4,9 4,8 5,8 5,9 7,9 7,8 8,8 8,7 7,7"/> <polygon fill="#343340" points="7,5 8,5 8,4 7,4 7,3 5,3 5,4 4,4 4,3 2,3 2,4 1,4 1,8 2,8 2,9 4,9 4,8 5,8 5,9 7,9 7,8 8,8 8,7 7,7"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 340 B

After

Width:  |  Height:  |  Size: 340 B

View File

@ -1,16 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9" class="pixelicon-paste">
<!-- Generator: Adobe Illustrator 26.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <polygon fill="#D38100" points="6,2 6,3 3,3 3,2 2,2 2,8 5,8 5,5 7,5 7,2 "/>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" <polygon fill="#FFE800" points="5,1 5,2 4,2 4,1 3,1 3,3 6,3 6,1 "/>
viewBox="0 0 9 9" style="enable-background:new 0 0 9 9;" xml:space="preserve"> <rect fill="#FFE800" x="4" y="0" width="1" height="1"/>
<style type="text/css"> <polygon fill="#D0EAFF" points="7,8 8,8 8,5 5,5 5,9 7,9 "/>
.st0{fill:#D38100;} <rect fill="#89CDFF" x="7" y="8" width="1" height="1"/>
.st1{fill:#FFE800;}
.st2{fill:#D0EAFF;}
.st3{fill:#89CDFF;}
</style>
<polygon class="st0" points="6,2 6,3 3,3 3,2 2,2 2,8 5,8 5,5 7,5 7,2 "/>
<polygon class="st1" points="5,1 5,2 4,2 4,1 3,1 3,3 6,3 6,1 "/>
<rect x="4" class="st1" width="1" height="1"/>
<polygon class="st2" points="7,8 8,8 8,5 5,5 5,9 7,9 "/>
<rect x="7" y="8" class="st3" width="1" height="1"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 760 B

After

Width:  |  Height:  |  Size: 410 B