style code
This commit is contained in:
parent
73943c5022
commit
7e0235fb88
6 changed files with 51 additions and 24 deletions
|
|
@ -86,22 +86,6 @@
|
|||
}
|
||||
}}
|
||||
|
||||
```raw-css
|
||||
:root {
|
||||
color-scheme: light dark;
|
||||
&:has(#theme-light:checked) {
|
||||
color-scheme: light;
|
||||
}
|
||||
&:has(#theme-dark:checked) {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
--color-border: light-dark(#414868, #414868);
|
||||
|
||||
--color-button-shadow: light-dark(#888, #000);
|
||||
--color-button-focus: light-dark(#000, #FFF);
|
||||
}
|
||||
```
|
||||
html.style(get-css())
|
||||
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue