feat: some stuff

This commit is contained in:
2024-04-03 20:16:38 +02:00
parent 46230f2140
commit d025f7e01b
2 changed files with 20 additions and 11 deletions

View File

@ -30,7 +30,7 @@
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
class="light icon icon-tabler icons-tabler-outline icon-tabler-sun"
class="hidden icon icon-tabler icons-tabler-outline icon-tabler-sun"
><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path
d="M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"
/><path
@ -47,9 +47,18 @@
stroke-width="1.25"
stroke-linecap="round"
stroke-linejoin="round"
class="dark hidden icon icon-tabler icons-tabler-outline icon-tabler-moon"
class="icon icon-tabler icons-tabler-outline icon-tabler-moon"
><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path
d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"
/></svg
>
</button>
<style>
:global(.dark .icon-tabler-moon) {
display: none;
}
:global(.dark .icon-tabler-sun) {
display: block;
}
</style>