mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-12-14 09:58:43 +01:00
feat: Added a light version and an automatic (light/dark) version for each theme
This commit is contained in:
parent
07b99b9758
commit
c365a2373e
13 changed files with 228 additions and 5 deletions
14
sass/color/background_auto.scss
Normal file
14
sass/color/background_auto.scss
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
:root {
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
--background: white;
|
||||
|
||||
--color: #101010;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
--background: #101010;
|
||||
|
||||
--color: #A9B7C6;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue