wechsel auf Favicon mit transparentem Hintergrund

This commit is contained in:
Stefan Dastig 2022-06-29 09:51:38 +02:00
parent 60bde50e27
commit bb2bc5f1af
3 changed files with 3 additions and 28 deletions

View File

@ -10,7 +10,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" sizes="any">
<link rel="apple-touch-icon" type="image/svg+xml" href="favicon_big.svg" sizes="any">
<link rel="apple-touch-icon" type="image/svg+xml" href="favicon.svg" sizes="any">
<meta name="theme-color" content="#ffffff">
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />

View File

@ -4,12 +4,12 @@
<defs>
<style type="text/css">
#root {
background-color: #FFF;
background-color: transparent;
stroke: #2AA1BF;
}
@media (prefers-color-scheme: dark) {
#root {
background-color: #000;
background-color: transparent;
stroke: #FFF;
}
}

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1,25 +0,0 @@
<svg id="root" width="640" height="640" viewBox="-32 -32 64 64" xmlns="http://www.w3.org/2000/svg">
<title>/usr/space</title>
<desc>Logo /usr/space</desc>
<defs>
<style type="text/css">
#root {
background-color: #FFF;
stroke: #2AA1BF;
}
@media (prefers-color-scheme: dark) {
#root {
background-color: #000;
stroke: #FFF;
}
}
</style>
<marker id="circle" viewBox="-3 -3 6 6" refX="-2.25" orient="auto-start-reverse" markerWidth="6" markerHeight="6" markerUnits="userSpaceOnUse">
<circle cx="0" cy="0" r="2.25" fill="none" stroke-width="1.1"/>
</marker>
</defs>
<g fill="none" stroke-width="1.1">
<path marker-start="url(#circle)" marker-end="url(#circle)" d="M 0,-21.69431 0,-1.299519 a 2.2499999,2.2499999 0 0 0 1.125624,1.948918 l 21.5,12.403846 A 2.25,2.25 0 0 0 26,11.104327 v -24.804808 a 2.2499999,2.2499999 0 0 0 -1.125624,-1.948918 l -23.75,-13.701923 a 2.25,2.25 0 0 0 -2.248752,0 l -23.749999,13.701923 A 2.2499999,2.2499999 0 0 0 -26,-13.700481 v 24.804808 a 2.25,2.25 0 0 0 3.374376,1.948918 L -6.154917,3.550914"/>
<path marker-start="url(#circle)" marker-end="url(#circle)" d="m 18.850376,19.124785 -17.726,10.226537 a 2.25,2.25 0 0 1 -2.248752,0 L -18.844457,19.128198"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB