root color for dark mode
This commit is contained in:
14
build/scss/_root.scss
Normal file
14
build/scss/_root.scss
Normal 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};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
@@ -2,6 +2,7 @@
|
||||
// Part: Core
|
||||
//
|
||||
|
||||
@import "../root";
|
||||
@import "../animation-effects";
|
||||
@import "../preloader";
|
||||
@import "../layout";
|
||||
|
||||
Reference in New Issue
Block a user