blob: 34c4bf0649252a0d007c49438307914bdbb3489f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
@use 'sass:meta';
@use 'iro-sass/src/iro-sass' as iro;
@use '../props';
@forward 'container.vars';
@use 'container.vars' as vars;
@mixin styles {
@include props.materialize(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);
}
}
}
|