@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}); } } } }