blob: 5383bd77a5a14119ad5c512aa06a9f3db56508b8 (
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
35
|
@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-top: fn.global-dim(--paragraph --margin-top),
--compact: (
--indent: fn.global-dim(--list --compact-indent),
),
)
), 'dims');
@include iro.props-store((
--colors: (
--border: fn.global-color(--obj),
)
), 'colors');
@include iro.bem-scope(iro.props-namespace()) {
blockquote {
margin: fn.dim(--margin-top) 0 0 1px;
padding-left: calc(fn.dim(--indent) - 3px);
border-left: 3px solid fn.color(--border);
}
@include iro.bem-modifier('compact') {
blockquote {
padding-left: calc(fn.dim(--compact --indent) - 3px);
}
}
}
}
|