@use 'iro-sass/src/props'; @use '../core.vars' as core; $border-width: props.def(--o-alert--border-width, props.get(core.$border-width--medium)) !default; $pad-i: props.def(--o-alert--pad-i, props.get(core.$size--250)) !default; $pad-b: props.def(--o-alert--pad-b, props.get(core.$size--200)) !default; $rounding: props.def(--o-alert--rounding, props.get(core.$rounding)) !default; $bg-color: props.def(--o-alert--bg-color, props.get(core.$theme, --bg-l2), 'color') !default; $border-color: props.def(--o-alert--border-color, props.get(core.$theme, --text-mute-more), 'color') !default; $themes-config: ( accent: --accent, positive: --positive, negative: --negative, warning: --warning, ) !default; $themes: props.def(--o-alert, (), 'color'); @each $theme, $key in $themes-config { $themes: props.merge($themes, ( $key: ( --border-color: props.get(core.$theme, $key, --700), ) )); }