From cb19a506ce07570c6c461cc7000c1e7415b8e36c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 22 Oct 2024 23:28:38 +0200 Subject: Fix --- src/_core.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ @use 'sass:map'; @use 'sass:meta'; +@use 'sass:string'; @use 'iro-sass/src/bem'; @use 'iro-sass/src/props'; @use 'config'; @@ -20,7 +21,7 @@ } } } @else { - @include bem.theme($theme-name) { + @include bem.theme(string.slice($theme-name, 3)) { @include props.materialize(map.get($theme, 'light')); @if map.has-key($theme, 'dark') { -- cgit v1.2.3-70-g09d2