From 758fc432761520912b1cd6e04fa9b05e968915c2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 25 Oct 2024 13:01:11 +0200 Subject: Declare color + background-color for full themes --- src/_core.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ } @else { @include bem.theme(string.slice($theme-name, 3)) { @include props.materialize(map.get($theme, 'light')); - + + color: props.get(vars.$theme, --text); + background-color: props.get(vars.$theme, --bg-base); + @if map.has-key($theme, 'dark') { @media (prefers-color-scheme: dark) { @include props.materialize(map.get($theme, 'dark')); -- cgit v1.2.3-70-g09d2