From 604e5b7645546480dc8fffea4b9ecb5c1c85e74b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 29 Nov 2024 23:26:12 +0100 Subject: Static themes --- src/_themes.scss | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/_themes.scss') diff --git a/src/_themes.scss b/src/_themes.scss index 32b617b..1a4f36a 100644 --- a/src/_themes.scss +++ b/src/_themes.scss @@ -70,4 +70,13 @@ } } } + + @each $theme in map.keys(props.get(vars.$transparent-colors)) { + $theme-name: static-#{string.slice($theme, 3)}; + + @include bem.theme($theme-name) { + color: props.get(vars.$transparent-colors, $theme, --text); + background-color: props.get(vars.$transparent-colors, $theme, --900); + } + } } -- cgit v1.2.3-70-g09d2