summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/_core.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/_core.scss b/src/_core.scss
index f32ee04..76beb2d 100644
--- a/src/_core.scss
+++ b/src/_core.scss
@@ -1,5 +1,6 @@
1@use 'sass:map'; 1@use 'sass:map';
2@use 'sass:meta'; 2@use 'sass:meta';
3@use 'sass:string';
3@use 'iro-sass/src/bem'; 4@use 'iro-sass/src/bem';
4@use 'iro-sass/src/props'; 5@use 'iro-sass/src/props';
5@use 'config'; 6@use 'config';
@@ -20,7 +21,7 @@
20 } 21 }
21 } 22 }
22 } @else { 23 } @else {
23 @include bem.theme($theme-name) { 24 @include bem.theme(string.slice($theme-name, 3)) {
24 @include props.materialize(map.get($theme, 'light')); 25 @include props.materialize(map.get($theme, 'light'));
25 26
26 @if map.has-key($theme, 'dark') { 27 @if map.has-key($theme, 'dark') {