feat: improved theming

This commit is contained in:
Cory Dransfeldt 2024-09-02 15:21:55 -07:00
parent b48fa57267
commit 72c09452e0
No known key found for this signature in database
5 changed files with 15 additions and 14 deletions

View file

@ -29,7 +29,7 @@ theme-toggle {
}
}
.theme__dark {
[data-theme="dark"] {
& .theme-toggle > .light {
display: inline;
}
@ -39,7 +39,7 @@ theme-toggle {
}
}
.theme__light {
[data-theme="light"] {
& .theme-toggle > .light {
display: none;
}

View file

@ -147,7 +147,7 @@
}
/* dark theme */
:root.theme__dark {
:root[data-theme="dark"] {
--text-color: var(--color-lightest);
--background-color: var(--color-darkest);
--text-color-inverted: var(--color-darkest);