@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); p { 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; } } ul, ol, table, pre, blockquote { margin-block-start: props.get(vars.$paragraph--margin-bs); } } }