@use 'iro-sass/src/index' as iro; @use '../functions' as fn; @include iro.props-namespace('icon') { @include iro.props-store(( --dims: ( --stroke: 1.5px, --size: calc(1 / 14 * 16em), --vmargin: calc((1em - fn.dim(--size, null)) * .5), --valign: -.14em, ) ), 'dims'); @include iro.bem-object(iro.props-namespace()) { display: inline; width: fn.dim(--size); height: fn.dim(--size); margin-top: fn.dim(--vmargin); margin-bottom: fn.dim(--vmargin); stroke-width: fn.dim(--stroke); stroke-linecap: round; stroke-linejoin: round; vertical-align: fn.dim(--valign); @include iro.bem-modifier('block') { display: block; } } }