@use 'sass:meta'; @use 'iro-sass/src/bem' as bem; @use 'iro-sass/src/props'; @use '../props' as *; @use '../core.vars' as core; @forward 'lists.vars'; @use 'lists.vars' as vars; @mixin styles { @include materialize-at-root(meta.module-variables('vars')); @include bem.scope('lists') { ul, ol { padding-inline-start: props.get(vars.$indent); margin-block-start: props.get(vars.$margin-bs); ul, ol { margin-block-start: 0; } } ul { list-style: disc; } ol { list-style: decimal; } dl { padding: 0; margin-block: props.get(vars.$margin-bs) 0; margin-inline: 0; } dt { font-weight: bold; color: props.get(core.$theme, --heading); } dd { margin-block: 0; margin-inline: props.get(vars.$indent) 0; } @include bem.modifier('compact') { ul, ol { padding-inline-start: calc(props.get(vars.$compact--indent) - 3px); } dd { margin-inline-start: calc(props.get(vars.$compact--indent) - 3px); } } } }