Add prefer dark scheme support in CSS

This commit is contained in:
Radhi Fadlillah 2019-06-01 12:51:42 +07:00
parent fa938b9941
commit 95c8717855
3 changed files with 18 additions and 7 deletions

File diff suppressed because one or more lines are too long

View file

@ -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