Fix the last fake images, fix non-square theme icons, throw an error on fake svgs and non-square icons (if public theme)

This commit is contained in:
Pieter Vander Vennet 2022-02-10 23:10:39 +01:00
parent d5378c5bd6
commit db770f2c35
24 changed files with 719 additions and 336 deletions

View file

@ -1,6 +1,38 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" width="375px" height="300px" viewBox="0 0 375 300" version="1.1">
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 0 150 L 0 225 C 0 235.371094 8.378906 243.75 18.75 243.75 L 37.5 243.75 L 37.5 131.25 L 18.75 131.25 C 8.378906 131.25 0 139.628906 0 150 Z M 271.875 56.25 L 206.25 56.25 L 206.25 18.75 C 206.25 8.378906 197.871094 0 187.5 0 C 177.128906 0 168.75 8.378906 168.75 18.75 L 168.75 56.25 L 103.125 56.25 C 77.226562 56.25 56.25 77.226562 56.25 103.125 L 56.25 262.5 C 56.25 283.183594 73.066406 300 93.75 300 L 281.25 300 C 301.933594 300 318.75 283.183594 318.75 262.5 L 318.75 103.125 C 318.75 77.226562 297.773438 56.25 271.875 56.25 Z M 150 243.75 L 112.5 243.75 L 112.5 225 L 150 225 Z M 131.25 173.4375 C 118.300781 173.4375 107.8125 162.949219 107.8125 150 C 107.8125 137.050781 118.300781 126.5625 131.25 126.5625 C 144.199219 126.5625 154.6875 137.050781 154.6875 150 C 154.6875 162.949219 144.199219 173.4375 131.25 173.4375 Z M 206.25 243.75 L 168.75 243.75 L 168.75 225 L 206.25 225 Z M 262.5 243.75 L 225 243.75 L 225 225 L 262.5 225 Z M 243.75 173.4375 C 230.800781 173.4375 220.3125 162.949219 220.3125 150 C 220.3125 137.050781 230.800781 126.5625 243.75 126.5625 C 256.699219 126.5625 267.1875 137.050781 267.1875 150 C 267.1875 162.949219 256.699219 173.4375 243.75 173.4375 Z M 356.25 131.25 L 337.5 131.25 L 337.5 243.75 L 356.25 243.75 C 366.621094 243.75 375 235.371094 375 225 L 375 150 C 375 139.628906 366.621094 131.25 356.25 131.25 Z M 356.25 131.25 "/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="375"
height="375"
viewBox="0 0 375 375"
version="1.1"
id="svg5"
sodipodi:docname="robot.svg"
inkscape:version="1.1.1 (1:1.1+202109281949+c3084ef5ed)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs9" />
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
showgrid="false"
height="375px"
inkscape:zoom="0.85925783"
inkscape:cx="153.62094"
inkscape:cy="67.500112"
inkscape:current-layer="svg5" />
<g
id="surface1"
transform="translate(0,34)">
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,150 v 75 c 0,10.37109 8.378906,18.75 18.75,18.75 H 37.5 V 131.25 H 18.75 C 8.378906,131.25 0,139.62891 0,150 Z M 271.875,56.25 H 206.25 V 18.75 C 206.25,8.378906 197.87109,0 187.5,0 177.12891,0 168.75,8.378906 168.75,18.75 v 37.5 H 103.125 C 77.226562,56.25 56.25,77.226562 56.25,103.125 V 262.5 c 0,20.68359 16.816406,37.5 37.5,37.5 h 187.5 c 20.68359,0 37.5,-16.81641 37.5,-37.5 V 103.125 C 318.75,77.226562 297.77344,56.25 271.875,56.25 Z M 150,243.75 H 112.5 V 225 H 150 Z m -18.75,-70.3125 c -12.94922,0 -23.4375,-10.48828 -23.4375,-23.4375 0,-12.94922 10.48828,-23.4375 23.4375,-23.4375 12.94922,0 23.4375,10.48828 23.4375,23.4375 0,12.94922 -10.48828,23.4375 -23.4375,23.4375 z m 75,70.3125 h -37.5 V 225 h 37.5 z m 56.25,0 H 225 V 225 h 37.5 z m -18.75,-70.3125 c -12.94922,0 -23.4375,-10.48828 -23.4375,-23.4375 0,-12.94922 10.48828,-23.4375 23.4375,-23.4375 12.94922,0 23.4375,10.48828 23.4375,23.4375 0,12.94922 -10.48828,23.4375 -23.4375,23.4375 z M 356.25,131.25 H 337.5 v 112.5 h 18.75 c 10.37109,0 18.75,-8.37891 18.75,-18.75 v -75 c 0,-10.37109 -8.37891,-18.75 -18.75,-18.75 z m 0,0"
id="path2" />
</g>
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before After
Before After