fix: theme icon shift

This commit is contained in:
Cory Dransfeldt 2024-02-17 19:32:37 -08:00
parent 9003d20ee3
commit 825ae15e00
No known key found for this signature in database
4 changed files with 25 additions and 1 deletions

View file

@ -504,6 +504,15 @@ footer nav {
.theme__toggle > .light svg { stroke: var(--sun) !important; }
.theme__toggle > .dark svg { stroke: var(--moon) !important; }
.theme__toggle > .light ,
.theme__toggle > .dark {
display: none;
}
:is(.theme__light, .theme__dark) .theme__toggle > .placeholder {
display: none;
}
.theme__dark .theme__toggle > .light {
display: inline;
}