Improve favicon appearance on all platforms (#7)

This commit is contained in:
andig 2020-03-18 16:49:11 +01:00 • committed by GitHub
parent da74ce17fd
commit 3aec820d24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 1267 additions and 731 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Before After
Before After

View file

@ -2,8 +2,8 @@
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
<square150x150logo src="ico/mstile-150x150.png"/>
<TileColor>#2b5797</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 913 B

After

Width:  |  Height:  |  Size: 1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before After
Before After

58
assets/ico/favicon.svg Normal file
View file

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 576 512"
version="1.1"
id="svg12"
sodipodi:docname="leaf.svg"
inkscape:version="1.0beta2 (2b71d25, 2019-12-03)">
<metadata
id="metadata18">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs16" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
inkscape:document-rotation="0"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1280"
inkscape:window-height="755"
id="namedview14"
showgrid="false"
inkscape:zoom="0.92768596"
inkscape:cx="353.312"
inkscape:cy="200.09826"
inkscape:window-x="0"
inkscape:window-y="23"
inkscape:window-maximized="0"
inkscape:current-layer="svg12" />
<path
style="stroke-width:1.1;stroke-miterlimit:4;stroke-dasharray:none"
d="M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"
id="path10" />
<path
inkscape:connector-curvature="0"
id="path20"
d="m 21.21449,509.39751 c -5.971286,-2.52059 -9.269565,-4.81794 -12.9733928,-9.03637 -6.1766191,-7.03478 -8.8842152,-17.3518 -6.971629,-26.56467 1.258445,-6.0619 11.8107088,-27.39624 19.8175918,-40.06678 22.713423,-35.94297 56.773767,-71.44959 94.11207,-98.10823 68.76834,-49.09895 154.92997,-76.24193 249.47048,-78.5892 11.23532,-0.27896 21.89988,-0.8765 23.69902,-1.32786 4.02501,-1.0098 9.1941,-5.41782 10.76663,-9.18141 2.92101,-6.99096 0.29781,-15.90466 -5.87906,-19.97721 l -3.71288,-2.44799 -20.91224,0.12879 c -95.91234,0.59069 -191.38366,28.82528 -262.4752,77.62416 -4.25115,2.91809 -7.89194,5.14304 -8.090638,4.94433 -1.034492,-1.03449 -1.681776,-19.91176 -1.047227,-30.54108 4.946935,-82.86599 63.514115,-153.47981 144.215265,-173.87878 19.41459,-4.90746 20.47839,-4.979088 83.88455,-5.648034 49.15213,-0.518563 60.64802,-0.871339 68.23769,-2.09402 19.39657,-3.124747 35.56867,-8.269165 52.1562,-16.591125 29.26858,-14.684035 50.80653,-34.823142 71.56328,-66.915381 3.64477,-5.6352221 5.2829,-7.343539 8.63712,-9.0071805 5.61954,-2.78721054 10.73552,-2.07507421 15.40609,2.1445063 3.91499,3.5369576 8.97418,14.4546312 15.06776,32.5161072 20.64772,61.200058 24.79308,128.916947 11.83935,193.402597 -25.37559,126.32372 -112.033,220.27326 -224.43817,243.32443 -17.6222,3.61382 -29.64707,4.91447 -50.19768,5.42955 -21.4123,0.53668 -32.33232,-0.45528 -49.11375,-4.46143 -40.56718,-9.6844 -78.7741,-33.83895 -104.95018,-66.34986 l -5.80657,-7.21182 -7.6437,6.87084 c -26.141169,23.49803 -48.851538,52.36799 -61.996828,78.81184 -2.979862,5.99446 -6.952342,12.64221 -8.827734,14.77277 -7.841316,8.90821 -23.148129,12.54014 -33.836218,8.02851 z"
style="fill:#007bff;stroke:#007bff;stroke-width:1.1;fill-opacity:1;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After

View file

@ -9,43 +9,42 @@ Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,576.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M5260 5430 c0 -3 -10 -10 -22 -15 -13 -6 -61 -67 -108 -137 -47 -69
-103 -148 -125 -174 -35 -43 -192 -201 -227 -230 -42 -34 -170 -124 -213 -150
-52 -32 -239 -124 -259 -129 -6 -1 -24 -8 -41 -14 -16 -7 -37 -14 -46 -16 -8
-2 -40 -10 -70 -19 -122 -37 -231 -54 -394 -61 -60 -3 -116 -7 -122 -10 -7 -2
-13 0 -13 6 0 6 -4 8 -8 5 -11 -7 -43 -7 -437 -7 -474 1 -542 -4 -755 -56
-139 -33 -374 -121 -391 -146 -3 -5 -9 -8 -13 -8 -11 2 -111 -51 -114 -60 -2
-5 -8 -9 -13 -9 -13 0 -116 -69 -199 -133 -60 -47 -250 -232 -295 -288 -10
-13 -43 -58 -72 -99 -29 -41 -57 -79 -61 -85 -10 -12 -61 -102 -97 -170 -54
-103 -166 -415 -149 -415 3 0 0 -8 -5 -18 -6 -11 -13 -41 -17 -68 -3 -27 -8
-52 -10 -55 -19 -32 -25 -509 -6 -509 1 0 44 28 95 62 50 35 99 68 108 73 182
107 294 169 420 229 156 76 397 176 422 176 7 0 17 4 23 9 7 6 132 49 164 56
3 0 37 10 75 22 60 19 189 53 251 68 10 2 37 9 59 14 22 6 54 12 70 15 29 6
51 10 105 21 14 2 39 7 55 10 17 3 41 7 55 9 14 3 61 10 105 16 44 6 91 13
105 15 55 8 173 20 310 31 105 8 451 13 481 7 48 -9 105 -70 114 -120 9 -59
-1 -96 -38 -136 -36 -38 -79 -58 -122 -57 -86 3 -413 -12 -520 -24 -22 -2 -70
-7 -107 -11 -37 -3 -75 -7 -85 -9 -10 -2 -40 -7 -68 -10 -69 -10 -106 -16
-135 -21 -14 -3 -38 -7 -55 -10 -35 -5 -159 -30 -195 -39 -14 -3 -38 -9 -55
-11 -16 -3 -52 -12 -80 -20 -95 -28 -170 -49 -180 -51 -27 -5 -290 -96 -316
-109 -16 -9 -32 -16 -36 -16 -5 -1 -18 -5 -31 -10 -13 -5 -25 -9 -27 -9 -20 0
-469 -223 -485 -241 -3 -3 -32 -20 -65 -38 -33 -18 -81 -49 -108 -67 -26 -19
-52 -34 -57 -34 -6 0 -10 -4 -10 -8 0 -5 -10 -14 -22 -19 -13 -6 -32 -18 -43
-27 -11 -8 -65 -50 -120 -92 -227 -174 -475 -419 -641 -634 -32 -41 -61 -77
-64 -80 -13 -12 -130 -191 -130 -199 0 -5 -3 -11 -7 -13 -19 -8 -152 -268
-178 -346 -36 -111 0 -241 90 -327 61 -58 121 -80 210 -79 92 1 94 1 159 34
66 33 107 85 170 210 42 86 132 238 168 285 138 181 206 262 313 369 120 121
201 196 209 196 2 0 29 -31 60 -69 88 -110 214 -231 331 -320 22 -17 45 -35
52 -41 7 -5 16 -10 22 -10 5 0 11 -3 13 -8 2 -4 28 -23 58 -41 30 -19 66 -41
80 -50 14 -8 27 -16 30 -17 3 0 48 -21 100 -46 52 -25 121 -55 153 -67 78 -29
268 -77 337 -86 30 -4 64 -9 75 -11 11 -3 68 -7 127 -9 59 -3 111 -5 115 -6 4
-1 10 -1 13 0 3 1 43 3 90 5 85 4 207 15 245 22 11 2 40 7 65 10 74 9 119 18
250 51 102 25 255 72 315 98 105 43 153 66 263 122 106 54 347 203 362 223 3
4 24 20 47 37 116 84 350 310 458 444 75 92 99 125 163 217 40 56 72 104 72
106 0 2 24 43 53 92 84 141 195 374 240 504 9 25 25 70 37 100 11 30 32 96 46
145 14 50 27 97 30 105 7 24 54 232 58 260 4 23 8 47 21 125 3 17 8 50 11 75
3 25 7 55 9 68 27 157 27 658 0 877 -13 106 -35 240 -49 300 -2 6 -6 33 -11
60 -4 28 -12 56 -17 63 -6 6 -8 12 -5 12 15 0 -98 369 -144 467 -10 24 -19 50
-19 58 0 8 -4 15 -10 15 -5 0 -9 3 -8 8 7 33 -55 105 -104 121 -35 12 -108 12
-108 1z"/>
<path d="M5254 5426 c-30 -14 -94 -84 -94 -105 0 -6 -4 -11 -10 -11 -5 0 -10
-4 -10 -10 0 -9 -64 -106 -80 -120 -3 -3 -21 -25 -40 -50 -147 -191 -344 -351
-572 -466 -70 -35 -236 -103 -268 -109 -8 -2 -35 -9 -60 -16 -53 -15 -54 -15
-100 -23 -19 -3 -46 -8 -60 -11 -55 -12 -115 -16 -330 -20 -124 -2 -227 -5
-230 -6 -3 -1 -8 -1 -11 -1 -9 1 -102 2 -121 1 -10 0 -111 0 -225 0 -217 1
-326 -3 -409 -14 -27 -4 -60 -8 -74 -9 -38 -5 -261 -63 -295 -77 -16 -7 -36
-13 -43 -15 -26 -5 -147 -59 -232 -102 -258 -134 -488 -334 -672 -586 -21 -28
-42 -57 -48 -63 -6 -7 -7 -13 -3 -13 4 0 3 -4 -3 -8 -13 -8 -71 -110 -118
-209 -66 -137 -131 -333 -151 -453 -3 -19 -8 -46 -10 -60 -20 -105 -30 -283
-21 -400 2 -25 4 -59 5 -77 1 -26 4 -30 20 -26 11 3 27 14 37 24 9 10 20 19
24 19 4 0 36 19 71 43 90 60 168 107 173 104 2 -1 12 6 23 15 27 25 416 221
463 233 3 1 16 6 30 12 171 73 503 184 620 208 8 2 15 4 15 5 0 2 21 7 60 15
17 3 46 10 65 15 19 5 46 11 60 14 14 3 48 11 75 16 28 6 64 13 80 16 54 9 69
11 110 18 23 3 52 9 65 11 28 5 89 13 250 31 129 14 341 25 549 27 137 2 152
-1 193 -43 47 -48 57 -146 19 -196 -48 -65 -67 -69 -351 -78 -141 -5 -210 -9
-335 -22 -33 -3 -76 -7 -95 -9 -19 -2 -51 -6 -70 -9 -19 -3 -57 -8 -84 -11
-27 -3 -52 -8 -55 -9 -3 -2 -28 -6 -56 -10 -27 -3 -63 -9 -80 -12 -16 -4 -37
-7 -45 -8 -9 -1 -21 -5 -28 -10 -6 -4 -12 -5 -12 -3 0 3 -37 -4 -82 -14 -46
-11 -94 -22 -108 -25 -106 -22 -487 -144 -577 -185 -23 -10 -44 -19 -47 -19
-22 0 -467 -220 -486 -240 -3 -3 -21 -14 -40 -24 -68 -37 -237 -150 -345 -231
-236 -177 -480 -412 -653 -629 -31 -39 -60 -73 -63 -76 -4 -3 -50 -70 -103
-149 -99 -148 -210 -356 -240 -448 -48 -147 25 -313 169 -383 41 -20 66 -24
135 -25 75 0 92 4 144 30 71 36 115 85 168 190 137 272 288 476 530 715 53 52
113 110 135 128 l38 33 18 -23 c91 -116 214 -241 320 -325 40 -32 74 -60 77
-63 18 -19 249 -160 262 -160 5 0 22 -8 36 -18 35 -24 240 -105 295 -117 10
-2 27 -7 37 -10 10 -3 28 -8 39 -10 12 -3 31 -7 44 -11 22 -5 47 -10 102 -19
17 -3 41 -7 55 -10 14 -3 78 -7 143 -10 65 -3 121 -6 125 -6 4 -1 9 -1 12 0 3
1 44 3 91 5 101 5 251 19 309 30 14 3 43 8 65 11 22 3 47 7 55 10 8 2 26 6 40
9 85 14 355 97 447 137 24 10 44 18 46 18 13 -4 319 165 411 226 66 44 126 85
135 90 8 6 24 18 35 27 12 10 55 46 96 80 114 95 261 243 365 369 44 53 155
199 155 204 0 3 18 30 40 60 22 30 40 56 40 59 0 2 22 41 49 85 48 78 175 331
201 401 7 19 17 39 22 44 4 6 8 16 8 24 0 8 6 28 14 45 15 34 28 70 27 75 -1
1 6 19 15 40 8 20 17 44 19 52 2 8 13 49 25 90 24 82 57 209 64 249 3 14 7 37
11 51 3 14 8 36 10 50 2 14 6 36 9 50 6 34 16 97 21 140 3 19 7 55 10 79 16
121 19 198 19 446 -1 238 -4 308 -20 430 -2 17 -5 49 -8 72 -2 23 -7 55 -10
70 -3 15 -8 48 -12 73 -3 24 -7 48 -10 51 -2 4 -6 24 -10 45 -19 130 -124 484
-181 614 -57 130 -81 162 -130 181 -34 13 -82 11 -119 -5z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Before After
Before After

View file

@ -1,14 +1,14 @@
{
"name": "EVCC",
"short_name": "EVCC",
"name": "EV Charge Controller",
"short_name": "EV Charge Controller",
"icons": [
{
"src": "android-chrome-192x192.png",
"src": "ico/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-512x512.png",
"src": "ico/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}

View file

@ -12,8 +12,10 @@
<link rel="icon" type="image/png" sizes="32x32" href="ico/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="ico/favicon-16x16.png">
<link rel="manifest" href="ico/site.webmanifest">
<link rel="mask-icon" href="ico/safari-pinned-tab.svg" color="#007bff">
<meta name="msapplication-TileColor" content="#da532c">
<link rel="mask-icon" href="ico/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="ico/favicon.ico">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="msapplication-config" content="ico/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<title>evcc</title>

File diff suppressed because it is too large Load diff