From 586b4f6e43febc1e68796caa69808a8b33eb6292 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 24 Jun 2024 20:44:38 +0200 Subject: Add static button themes --- src/_declare-vars.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/_declare-vars.scss') 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 @@ )); } +@each $palette-name, $palette in (--black: #000 #fff, --white: #fff #000) { + $color: list.nth($palette, 1); + $text: list.nth($palette, 2); + + @include iro.props-store(( + --colors: ( + #{$palette-name}-transparent: fn.transparent-palette( + $color, + $text, + map.get(config.$static-colors, --transparents), + ), + ), + )); +} + @each $theme-name, $theme in config.$themes { $tree: if($theme-name == config.$theme-default, iro.$props-default-tree, $theme-name); -- cgit v1.2.3-70-g09d2