Fix low-resolution file changed overlay icons in activities

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
This commit is contained in:
Claudio Cambra 2022-09-13 18:13:09 +02:00 committed by Matthieu Gallien
parent 89564cc9f9
commit 4c9e0873a3
5 changed files with 41 additions and 114 deletions

View file

@ -107,6 +107,7 @@ RowLayout {
source: Theme.darkMode ? model.darkIcon : model.lightIcon
sourceSize.height: 64
sourceSize.width: 64
mipmap: true // Addresses grainy downscale
}
}

View file

@ -1,43 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="16"
width="16"
height="64"
width="64"
version="1.1"
viewbox="0 0 16 16"
id="svg4"
sodipodi:docname="add-bordered.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
viewbox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs8" />
<sodipodi:namedview
id="namedview6"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="39.375"
inkscape:cx="7.9873016"
inkscape:cy="8"
inkscape:window-width="1920"
inkscape:window-height="1020"
inkscape:window-x="1"
inkscape:window-y="1111"
inkscape:window-maximized="1"
inkscape:current-layer="svg4" />
<path
fill="#000000"
d="m 9.02,13.98 h -2 V 8.9799996 h -5 V 6.98 h 5 v -5 h 2 v 5 l 5,-0.028 v 2.0279996 h -5 z"
d="M 36.688371,59.49185 H 27.550979 V 36.648369 H 4.7074996 v -9.13739 H 27.550979 V 4.6674996 h 9.137392 V 27.510979 L 59.53185,27.383056 v 9.265313 H 36.688371 Z"
id="path2929"
style="fill:#000001;fill-opacity:1;stroke:#ffffff;stroke-opacity:1;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none" />
style="fill:#000001;fill-opacity:1;stroke:#ffffff;stroke-width:9.1374;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
fill="#000"
d="M9.02 13.98h-2v-5h-5v-2h5v-5h2v5l5-.028V8.98h-5z"
id="path2" />
fill="#000000"
d="M 36.72991,59.367374 H 27.580651 V 36.612805 H 4.7074996 V 27.510979 H 27.580651 V 4.7564116 H 36.72991 V 27.510979 l 22.873152,-0.127426 v 9.229252 H 36.72991 Z"
id="path2"
style="stroke-width:4.56276" />
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 824 B

View file

@ -1,49 +1,25 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 16 16"
width="16"
viewBox="0 0 64 64"
width="64"
version="1.1"
height="16"
id="svg6"
sodipodi:docname="change-bordered.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
height="64"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs10" />
<sodipodi:namedview
id="namedview8"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="27.84233"
inkscape:cx="6.0878526"
inkscape:cy="3.9867353"
inkscape:window-width="1920"
inkscape:window-height="1020"
inkscape:window-x="1"
inkscape:window-y="1111"
inkscape:window-maximized="1"
inkscape:current-layer="svg6" />
<path
d="m2 8.75v4.5l1.408-1.41c1.116 1.334 2.817 2.145 4.592 2.16 2.16 0.01827 4.116-1.132 5.196-3.002l-1.948-1.125c-0.677 1.171-1.9005 1.886-3.248 1.875-1.18-0.01-2.3047-0.572-3-1.5l1.5-1.5z"
d="M 7.1861368,35.043818 V 53.628501 L 13.001078,47.8053 c 4.609001,5.509327 11.634012,8.8587 18.964637,8.920649 8.920648,0.07545 16.99879,-4.675081 21.459114,-12.398049 l -8.045103,-4.646171 c -2.795962,4.836147 -7.848931,7.789047 -13.414011,7.743618 -4.873317,-0.0413 -9.518249,-2.36232 -12.389789,-6.194895 l 6.194894,-6.194894 z"
id="path2731"
style="stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke:#ffffff;stroke-opacity:1" />
style="stroke:#ffffff;stroke-width:8.25986;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
d="M 8,2 C 5.858,2 3.875,3.145 2.804,5 L 4.752,6.125 C 5.423,4.963 6.658,4.25 7.9996,4.25 c 1.1906,0 2.297,0.56157 3,1.5 l -1.5,1.5 h 4.5 v -4.5 l -1.406,1.406 C 11.4646,2.808 9.792,2 8,2 Z"
d="m 31.965715,7.1667926 c -8.84631,0 -17.03596,4.7287694 -21.459115,12.3897884 l 8.045103,4.646171 c 2.771183,-4.798978 7.871646,-7.743618 13.41236,-7.743618 4.917094,0 9.486448,2.319245 12.389789,6.194895 l -6.194895,6.194894 H 56.743641 V 10.26424 L 50.93696,16.070921 C 46.274269,10.503776 39.366549,7.1667926 31.965715,7.1667926 Z"
id="path827"
style="stroke:#ffffff;stroke-opacity:1;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
sodipodi:nodetypes="cccsccccccc" />
style="stroke:#ffffff;stroke-width:8.25986;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
d="m8 2c-2.142 0-4.125 1.145-5.196 3l1.948 1.125c0.671-1.162 1.906-1.875 3.2476-1.875 1.1906 0 2.297 0.56157 3 1.5l-1.5 1.5h4.5v-4.5l-1.406 1.406c-1.129-1.348-2.802-2.1563-4.594-2.1563z"
id="path2" />
d="m 31.965715,7.1667926 c -8.84631,0 -17.03596,4.7287694 -21.459115,12.3897884 l 8.045103,4.646171 c 2.771183,-4.798978 7.871646,-7.743618 13.41236,-7.743618 4.917094,0 9.486448,2.319245 12.389789,6.194895 l -6.194895,6.194894 H 56.743641 V 10.26424 L 50.93696,16.070921 C 46.274269,10.503776 39.364897,7.1655536 31.964063,7.1655536 Z"
id="path2"
style="stroke-width:4.12993" />
<path
d="m2 8.75v4.5l1.408-1.41c1.116 1.334 2.817 2.145 4.592 2.16 2.16 0.01827 4.116-1.132 5.196-3.002l-1.948-1.125c-0.677 1.171-1.9005 1.886-3.248 1.875-1.18-0.01-2.3047-0.572-3-1.5l1.5-1.5z"
id="path4" />
d="M 7.1861368,35.043818 V 53.628501 L 13.001078,47.8053 c 4.609001,5.509327 11.634012,8.8587 18.964637,8.920649 8.920648,0.07545 16.99879,-4.675081 21.459114,-12.398049 l -8.045103,-4.646171 c -2.795962,4.836147 -7.848931,7.789047 -13.414011,7.743618 -4.873317,-0.0413 -9.518249,-2.36232 -12.389789,-6.194895 l 6.194894,-6.194894 z"
id="path4"
style="stroke-width:4.12993" />
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -1,43 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="16"
width="16"
height="64"
width="64"
version="1.1"
viewBox="0 0 16 16"
id="svg4"
sodipodi:docname="delete-bordered.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs8" />
<sodipodi:namedview
id="namedview6"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="39.375"
inkscape:cx="7.9873016"
inkscape:cy="8"
inkscape:window-width="1920"
inkscape:window-height="1020"
inkscape:window-x="1"
inkscape:window-y="1111"
inkscape:window-maximized="1"
inkscape:current-layer="svg4" />
<path
d="m3.0503 4.4645 3.5355 3.5355-3.5355 3.536 1.4142 1.414 3.5355-3.5358 3.536 3.5358 1.414-1.414-3.5358-3.536 3.5358-3.5355-1.414-1.4142-3.536 3.5355-3.5355-3.5355-1.4142 1.4142z"
fill="#000"
d="M 8.3891995,15.207705 25.181495,32 8.3891995,48.79467 15.106118,55.510639 31.898413,38.716919 48.693083,55.510639 55.409052,48.79467 38.615332,32 55.409052,15.207705 48.693083,8.490787 31.898413,25.283082 15.106118,8.490787 Z"
fill="#000000"
id="path849"
style="stroke:#ffffff;stroke-opacity:1;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none" />
style="stroke:#ffffff;stroke-width:9.49924;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
d="m3.0503 4.4645 3.5355 3.5355-3.5355 3.536 1.4142 1.414 3.5355-3.5358 3.536 3.5358 1.414-1.414-3.5358-3.536 3.5358-3.5355-1.414-1.4142-3.536 3.5355-3.5355-3.5355-1.4142 1.4142z"
fill="#000"
id="path2" />
d="M 8.3891995,15.207705 25.181495,32 8.3891995,48.79467 15.106118,55.510639 31.898413,38.716919 48.693083,55.510639 55.409052,48.79467 38.615332,32 55.409052,15.207705 48.693083,8.490787 31.898413,25.283082 15.106118,8.490787 Z"
fill="#000000"
id="path2"
style="stroke-width:4.74962" />
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 925 B

View file

@ -1,21 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="16"
width="16"
height="64"
width="64"
version="1.1"
viewBox="0 0 16 16"
id="svg4"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs8" />
<path
fill="#ffffff"
d="M 7.9992,0.999 A 6.9993,6.9994 0 0 0 1,7.9986 6.9993,6.9994 0 0 0 7.9992,14.998 6.9993,6.9994 0 0 0 11.63,13.974 c 0.86024,0.34184 2.7871,1.356 3.2457,0.91794 0.47922,-0.45765 -0.56261,-2.6116 -0.81238,-3.412 a 6.9993,6.9994 0 0 0 0.935,-3.4814 6.9993,6.9994 0 0 0 -6.9991,-6.9993 z M 8,3.6601 A 4.34,4.3401 0 0 1 12.34,8.0002 4.34,4.3401 0 0 1 8,12.34 4.34,4.3401 0 0 1 3.66,8.0002 4.34,4.3401 0 0 1 8,3.6601 Z"
d="M 31.928199,5.9153513 A 26.014931,26.015303 0 0 0 5.9136395,31.931397 26.014931,26.015303 0 0 0 31.928199,57.946699 26.014931,26.015303 0 0 0 45.42312,54.140706 c 3.197332,1.270547 10.359067,5.039968 12.063587,3.411791 1.78116,-1.700989 -2.091104,-9.70677 -3.019446,-12.681689 A 26.014931,26.015303 0 0 0 57.94246,31.931173 26.014931,26.015303 0 0 0 31.928273,5.9162433 Z m 0.003,9.8907517 A 16.13087,16.131242 0 0 1 48.062041,31.937344 16.13087,16.131242 0 0 1 31.931172,48.06747 16.13087,16.131242 0 0 1 15.800302,31.937344 16.13087,16.131242 0 0 1 31.931172,15.806103 Z"
id="path2-8"
style="stroke:#ffffff;stroke-opacity:1;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;paint-order:normal" />
style="stroke:#ffffff;stroke-width:7.43358;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" />
<path
fill="#000000"
d="M 7.9992,0.999 A 6.9993,6.9994 0 0 0 1,7.9985999 6.9993,6.9994 0 0 0 7.9992,14.998 6.9993,6.9994 0 0 0 11.63,13.974 c 0.86024,0.34184 2.7871,1.356 3.2457,0.91794 0.47922,-0.45765 -0.56261,-2.6116 -0.81238,-3.412 A 6.9993,6.9994 0 0 0 14.99832,7.9985399 6.9993,6.9994 0 0 0 7.99922,0.99924 Z M 8,3.6601 A 4.34,4.3401 0 0 1 12.34,8.0001999 4.34,4.3401 0 0 1 8,12.34 4.34,4.3401 0 0 1 3.66,8.0001999 4.34,4.3401 0 0 1 8,3.6601 Z"
id="path886" />
d="M 31.928199,5.9153513 A 26.014931,26.015303 0 0 0 5.9136395,31.931397 26.014931,26.015303 0 0 0 31.928199,57.946699 26.014931,26.015303 0 0 0 45.42312,54.140706 c 3.197332,1.270547 10.359067,5.039968 12.063587,3.411791 1.78116,-1.700989 -2.091104,-9.70677 -3.019446,-12.681689 A 26.014931,26.015303 0 0 0 57.94246,31.931173 26.014931,26.015303 0 0 0 31.928273,5.9162433 Z m 0.003,9.8907517 A 16.13087,16.131242 0 0 1 48.062041,31.937344 16.13087,16.131242 0 0 1 31.931172,48.06747 16.13087,16.131242 0 0 1 15.800302,31.937344 16.13087,16.131242 0 0 1 31.931172,15.806103 Z"
id="path886"
style="stroke-width:3.71679" />
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB