@use 'sass:meta'; @use 'iro-sass/src/iro-sass' as iro; @use 'iro-sass/src/props'; @use '../props' as *; @forward 'container.vars'; @use 'container.vars' as vars; @mixin styles { @include materialize-at-root(meta.module-variables('vars')); @include iro.bem-layout('container') { @each $mod, $size in vars.$fixed-sizes { @include iro.bem-modifier($mod) { max-inline-size: props.get($size); margin-inline: auto; } } @include iro.bem-modifier('pad-i') { padding-inline: props.get(vars.$pad-i); } @include iro.bem-modifier('pad-b') { padding-block: props.get(vars.$pad-b); } } }