feat: finish breaking up the stylesheets

This commit is contained in:
Kat Inskip 2025-11-09 13:54:39 -08:00
parent 35f5f48cc9
commit 8ef43c8de1
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
10 changed files with 158 additions and 148 deletions

View file

@ -75,3 +75,26 @@ $themes: (
}
}
html {
@include set-colors;
}
@media (prefers-color-scheme: dark) {
html {
@include set-colors(dark);
}
}
@media (prefers-color-scheme: light) {
html {
@include set-colors(light);
}
}
html:has(#color-scheme-dark:checked) {
@include set-colors(dark);
}
html:has(#color-scheme-light:checked) {
@include set-colors(light);
}