From 4e87fb46f2958ae28bdcfbc469118f14297b4d26 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 26 Jun 2024 09:19:02 +0200 Subject: Pill version for action button --- src/objects/_button.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/objects/_button.scss') diff --git a/src/objects/_button.scss b/src/objects/_button.scss index 1c907c0..27d3726 100644 --- a/src/objects/_button.scss +++ b/src/objects/_button.scss @@ -2,6 +2,7 @@ @use 'iro-sass/src/index' as iro; @use '../functions' as fn; +$sizes: 'sm' 'lg' 'xl' !default; $themes: 'accent' 'negative' !default; $static-themes: 'black' 'white' !default; @@ -54,7 +55,6 @@ $static-themes: 'black' 'white' !default; @include iro.bem-modifier('outline') { border-color: fn.color(list.join($key, --disabled --outline-border)); background-color: transparent; - box-shadow: none; } @include theme(static-#{$theme}); @@ -255,10 +255,9 @@ $static-themes: 'black' 'white' !default; @include iro.bem-modifier('outline') { border-color: fn.color(--disabled --outline-border); background-color: transparent; - box-shadow: none; } - @each $size in sm lg xl { + @each $size in $sizes { @include iro.bem-modifier($size) { padding-block: fn.dim(--#{$size} --pad-b); padding-inline: fn.dim(--#{$size} --pad-i); -- cgit v1.2.3-54-g00ecf