hugo-book
This commit is contained in:
9
themes/hugo-book/assets/themes/_auto.scss
Normal file
9
themes/hugo-book/assets/themes/_auto.scss
Normal file
@@ -0,0 +1,9 @@
|
||||
:root {
|
||||
@include theme-light;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
@include theme-dark;
|
||||
}
|
||||
}
|
||||
3
themes/hugo-book/assets/themes/_dark.scss
Normal file
3
themes/hugo-book/assets/themes/_dark.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
:root {
|
||||
@include theme-dark;
|
||||
}
|
||||
3
themes/hugo-book/assets/themes/_light.scss
Normal file
3
themes/hugo-book/assets/themes/_light.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
:root {
|
||||
@include theme-light;
|
||||
}
|
||||
Reference in New Issue
Block a user