From 50f6acc739f24bfa2ca080d08e90d82f8fa83543 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 17 Oct 2024 16:45:00 +0200 Subject: Revamped variable management --- src/objects/_status-indicator.scss | 39 -------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 src/objects/_status-indicator.scss (limited to 'src/objects/_status-indicator.scss') diff --git a/src/objects/_status-indicator.scss b/src/objects/_status-indicator.scss deleted file mode 100644 index 416e65e..0000000 --- a/src/objects/_status-indicator.scss +++ /dev/null @@ -1,39 +0,0 @@ -@use 'iro-sass/src/index' as iro; -@use '../functions' as fn; - -$themes: 'accent' 'positive' 'negative' 'warning' !default; - -@include iro.props-namespace('status-indicator') { - @include iro.props-store(( - --dims: ( - --size: fn.global-dim(--size --125), - ), - --colors: ( - --default: fn.global-color(--border-strong), - --primary: fn.global-color(--text), - ), - )); - - @each $theme in $themes { - @include iro.props-store(( - --colors: ( - --#{$theme}: fn.global-color(--#{$theme} --700), - ), - )); - } - - @include iro.bem-object(iro.props-namespace()) { - display: inline-block; - inline-size: fn.dim(--size); - block-size: fn.dim(--size); - border-radius: 10em; - background-color: fn.color(--default); - vertical-align: middle; - - @each $theme in $themes { - @include iro.bem-is($theme) { - background-color: fn.color(--#{$theme}); - } - } - } -} -- cgit v1.2.3-70-g09d2