@use 'sass:meta'; @use 'iro-sass/src/bem'; @use 'iro-sass/src/props'; @use '../props' as *; @forward 'body.vars'; @use 'body.vars' as vars; @mixin styles { @include materialize-at-root(meta.module-variables('vars')); @include bem.scope('body') { font-size: props.get(vars.$font-size); strong { color: props.get(vars.$strong--text-color); } p, li { max-inline-size: props.get(vars.$paragraph--max-inline-size); margin-block-start: props.get(vars.$paragraph--margin-bs); } img { display: block; inline-size: auto; max-inline-size: 100%; block-size: auto; max-block-size: props.get(vars.$img--max-block-size); margin-block-start: props.get(vars.$paragraph--margin-bs); } figure { margin-block-start: props.get(vars.$paragraph--margin-bs); img { margin-block: 0; } } hr { margin-block: calc(2 * props.get(vars.$paragraph--margin-bs)); } ul, ol, table, pre, blockquote { margin-block-start: props.get(vars.$paragraph--margin-bs); } } }