summaryrefslogtreecommitdiffstats
path: root/src/_declare-vars.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-06-24 20:44:38 +0200
committerVolpeon <git@volpeon.ink>2024-06-24 20:44:38 +0200
commit586b4f6e43febc1e68796caa69808a8b33eb6292 (patch)
tree3cf61a14010bb4331c4213cd2b96ec982a7755a3 /src/_declare-vars.scss
parentUpdate (diff)
downloadiro-design-586b4f6e43febc1e68796caa69808a8b33eb6292.tar.gz
iro-design-586b4f6e43febc1e68796caa69808a8b33eb6292.tar.bz2
iro-design-586b4f6e43febc1e68796caa69808a8b33eb6292.zip
Add static button themes
Diffstat (limited to 'src/_declare-vars.scss')
-rw-r--r--src/_declare-vars.scss15
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