root color for dark mode

pull/3492/head
Daniel 2021-03-10 01:13:48 +05:30
parent f2e1f98dc8
commit 1ea03fc691
2 changed files with 15 additions and 0 deletions

14
build/scss/_root.scss Normal file
View File

@ -0,0 +1,14 @@
.dark-mode {
:root {
// Custom variable values only support SassScript inside `#{}`.
@each $color, $value in $colors-alt {
--#{$color}: #{$value};
}
@each $color, $value in $theme-colors-alt {
--#{$color}: #{$value};
}
}
}
//

View File

@ -2,6 +2,7 @@
// Part: Core
//
@import "../root";
@import "../animation-effects";
@import "../preloader";
@import "../layout";