summaryrefslogtreecommitdiffstats
path: root/src/_core.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/_core.scss')
-rw-r--r--src/_core.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/_core.scss b/src/_core.scss
index 7b7a384..2eb04fc 100644
--- a/src/_core.scss
+++ b/src/_core.scss
@@ -20,6 +20,13 @@
20 } 20 }
21 } 21 }
22 } 22 }
23
24 @if map.has-key($theme, 'dark') and config.$explicit-dark-theme {
25 @include bem.theme('dark') {
26 @include props.materialize(map.values(meta.module-variables('vars')));
27 @include props.materialize(map.get($theme, 'dark'));
28 }
29 }
23 } @else { 30 } @else {
24 @include bem.theme(string.slice($theme-name, 3)) { 31 @include bem.theme(string.slice($theme-name, 3)) {
25 @include props.materialize(map.get($theme, 'light')); 32 @include props.materialize(map.get($theme, 'light'));