mirror of
https://github.com/go-shiori/shiori.git
synced 2025-02-21 22:43:22 +08:00
Add prefer dark scheme support in CSS
This commit is contained in:
parent
fa938b9941
commit
95c8717855
3 changed files with 18 additions and 7 deletions
File diff suppressed because one or more lines are too long
|
@ -11,6 +11,17 @@
|
|||
--main: #F44336;
|
||||
--errorColor: #F44336;
|
||||
--selectedBg: #ffe7e5;
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
&:root {
|
||||
--bg: #1F1F1F;
|
||||
--headerBg: #292929;
|
||||
--contentBg: #292929;
|
||||
--border: #191919;
|
||||
--color: #FFF;
|
||||
--selectedBg: #261918;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.night {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue