@use "sass:map"; @use "sass:meta"; @use "sass:string"; @use "pkg:iro-sass/bem"; @use "pkg:iro-sass/props"; @use "../props" as *; @forward "status-indicator.vars"; @use "status-indicator.vars" as vars; @mixin styles { @include materialize-at-root(meta.module-variables("vars")); @include bem.object("status-indicator") { display: inline-block; inline-size: props.get(vars.$size); block-size: props.get(vars.$size); background-color: props.get(vars.$default); border-radius: 10em; @each $theme in map.keys(props.get(vars.$themes)) { @include bem.is(string.slice($theme, 3)) { background-color: props.get(vars.$themes, $theme); } } } }