From 6376f1a5225b2fa45f6c861d4a265bf13b56d038 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 29 Jun 2024 10:01:02 +0200 Subject: Update --- src/_themes.scss | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/_themes.scss') diff --git a/src/_themes.scss b/src/_themes.scss index 72562c0..6fcf83b 100644 --- a/src/_themes.scss +++ b/src/_themes.scss @@ -1,6 +1,8 @@ @use 'iro-sass/src/index' as iro; @use 'functions' as fn; +$static-themes: 'black' 'white' !default; + @include iro.bem-theme('base') { background-color: fn.global-color(--bg-base); } @@ -12,3 +14,9 @@ @include iro.bem-theme('l2') { background-color: fn.global-color(--bg-l2); } + +@each $theme in $static-themes { + @include iro.bem-theme($theme) { + color: fn.global-color(--#{$theme}-transparent --800), + } +} -- cgit v1.2.3-54-g00ecf