trying to get dark mode favicon to work
This commit is contained in:
parent
7332c26e20
commit
583e9e3958
2 changed files with 15 additions and 15 deletions
15
favicon.svg
15
favicon.svg
|
|
@ -1,19 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 180">
|
||||
<style>
|
||||
.stroke-path {
|
||||
stroke: black;
|
||||
stroke-width: 12;
|
||||
stroke-linecap: round;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.stroke-path {
|
||||
stroke: white;
|
||||
}
|
||||
#clip0_19_13 rect {
|
||||
fill: transparent;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<g clip-path="url(#clip0_19_13)">
|
||||
<path class="stroke-path" d="M18 84.8528L85.8822 16.9706C95.2548 7.59798 110.451 7.59798 119.823 16.9706V16.9706C129.196 26.3431 129.196 41.5391 119.823 50.9117L68.5581 102.177"/>
|
||||
<path class="stroke-path" d="M69.2652 101.47L119.823 50.9117C129.196 41.5391 144.392 41.5391 153.765 50.9117L154.118 51.2652C163.491 60.6378 163.491 75.8338 154.118 85.2063L92.7248 146.6C89.6006 149.724 89.6006 154.789 92.7248 157.913L105.331 170.52"/>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 827 B |
15
style.css
Normal file
15
style.css
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
.stroke-path {
|
||||
stroke: black;
|
||||
stroke-width: 12;
|
||||
stroke-linecap: round;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.stroke-path {
|
||||
stroke: white;
|
||||
}
|
||||
|
||||
#clip0_19_13 rect {
|
||||
fill: transparent;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue