blob: f6a13fe3f1b9db5fddca9f1a7203003433edb469 (
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
29
30
31
32
33
34
|
@use 'iro-sass/src/index' as iro;
@use '../functions' as fn;
@include iro.props-namespace('blockquotes') {
@include iro.props-store((
--dims: (
--indent: fn.global-dim(--list --indent),
--margin-bs: fn.global-dim(--paragraph --margin-bs),
--border: fn.global-dim(--border --thick),
--compact: (
--indent: fn.global-dim(--list --compact-indent),
),
),
--colors: (
--border: fn.global-color(--border),
)
));
@include iro.bem-scope(iro.props-namespace()) {
blockquote {
margin-block: fn.dim(--margin-bs);
margin-inline: 1px 0;
padding-inline-start: calc(fn.dim(--indent) - fn.dim(--border));
border-inline-start: fn.dim(--border) solid fn.color(--border);
}
@include iro.bem-modifier('compact') {
blockquote {
padding-inline-start: calc(fn.dim(--compact --indent) - fn.dim(--border));
}
}
}
}
|