blob: 3336140ebe95262159c5b11d5d88a01f9a86b4df (
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
28
|
@use 'sass:meta';
@use 'iro-sass/src/bem' as bem;
@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 bem.layout('container') {
@each $mod, $size in vars.$fixed-sizes {
@include bem.modifier($mod) {
max-inline-size: props.get($size);
margin-inline: auto;
}
}
@include bem.modifier('pad-i') {
padding-inline: props.get(vars.$pad-i);
}
@include bem.modifier('pad-b') {
padding-block: props.get(vars.$pad-b);
}
}
}
|