@use 'sass:map'; @use 'sass:meta'; @use 'iro-sass/src/iro-sass' as iro; @use 'iro-sass/src/props'; @forward 'alert.vars'; @use 'alert.vars' as vars; @mixin styles { @include props.materialize(meta.module-variables('vars')); @include iro.bem-object('alert') { padding-block: props.get(vars.$pad-b); padding-inline: props.get(vars.$pad-i); background-color: props.get(vars.$bg-color); border: props.get(vars.$border-width) solid props.get(vars.$border-color); border-radius: props.get(vars.$rounding); @each $mod, $theme in vars.$themes-config { @include iro.bem-modifier($mod) { border-color: props.get(vars.$themes, $theme, --border-color); } } } }