diff options
Diffstat (limited to 'src/_declare-vars.scss')
-rw-r--r-- | src/_declare-vars.scss | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/_declare-vars.scss b/src/_declare-vars.scss index 2c845fa..91c4bea 100644 --- a/src/_declare-vars.scss +++ b/src/_declare-vars.scss | |||
@@ -189,6 +189,21 @@ | |||
189 | )); | 189 | )); |
190 | } | 190 | } |
191 | 191 | ||
192 | @each $palette-name, $palette in (--black: #000 #fff, --white: #fff #000) { | ||
193 | $color: list.nth($palette, 1); | ||
194 | $text: list.nth($palette, 2); | ||
195 | |||
196 | @include iro.props-store(( | ||
197 | --colors: ( | ||
198 | #{$palette-name}-transparent: fn.transparent-palette( | ||
199 | $color, | ||
200 | $text, | ||
201 | map.get(config.$static-colors, --transparents), | ||
202 | ), | ||
203 | ), | ||
204 | )); | ||
205 | } | ||
206 | |||
192 | @each $theme-name, $theme in config.$themes { | 207 | @each $theme-name, $theme in config.$themes { |
193 | $tree: if($theme-name == config.$theme-default, iro.$props-default-tree, $theme-name); | 208 | $tree: if($theme-name == config.$theme-default, iro.$props-default-tree, $theme-name); |
194 | 209 | ||