@use 'iro-sass/src/index' as iro; @use '../functions' as fn; @include iro.props-namespace('lists') { @include iro.props-store(( --dims: ( --indent: fn.global-dim(--list --indent), --margin-top: fn.global-dim(--paragraph --margin-top), ) ), 'dims'); @include iro.props-store(( --colors: ( --border: fn.global-color(--obj-hi), ) ), 'colors'); @include iro.bem-scope(iro.props-namespace()) { ul, ol { margin-top: fn.dim(--margin-top); padding-left: fn.dim(--indent); ul, ol { margin-top: 0; } } ul { list-style: inside disc; } ol { list-style: inside decimal; } dl { margin: fn.dim(--margin-top) 0 0; padding: 0; } dt { color: fn.global-color(--fg-lo); font-weight: bold; } dd { margin: 0 0 0 fn.dim(--indent); } } }