mirror of
https://github.com/kittywitch/dork.dev.git
synced 2026-02-09 15:19:18 -08:00
feat: finish breaking up the stylesheets
This commit is contained in:
parent
35f5f48cc9
commit
8ef43c8de1
10 changed files with 158 additions and 148 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue