diff options
-rw-r--r-- | src/_core.scss | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/_core.scss b/src/_core.scss index 76beb2d..7b7a384 100644 --- a/src/_core.scss +++ b/src/_core.scss | |||
@@ -23,7 +23,10 @@ | |||
23 | } @else { | 23 | } @else { |
24 | @include bem.theme(string.slice($theme-name, 3)) { | 24 | @include bem.theme(string.slice($theme-name, 3)) { |
25 | @include props.materialize(map.get($theme, 'light')); | 25 | @include props.materialize(map.get($theme, 'light')); |
26 | 26 | ||
27 | color: props.get(vars.$theme, --text); | ||
28 | background-color: props.get(vars.$theme, --bg-base); | ||
29 | |||
27 | @if map.has-key($theme, 'dark') { | 30 | @if map.has-key($theme, 'dark') { |
28 | @media (prefers-color-scheme: dark) { | 31 | @media (prefers-color-scheme: dark) { |
29 | @include props.materialize(map.get($theme, 'dark')); | 32 | @include props.materialize(map.get($theme, 'dark')); |