summaryrefslogtreecommitdiffstats
path: root/assets/css/scopes/_small.scss
blob: a4cc5961d2072bcf77033fe521a465e0d300a396 (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
@use 'iro-sass/src/index' as iro;
@use 'iro-design/src/functions' as fn;

@include iro.props-namespace('small') {
    @include iro.props-store((
        --colors: (
            --fg: fn.global-color(--fg-hi),
        ),
    ), 'colors');

    @include iro.props-store((
        --dims: (
            --margin-top: fn.global-dim(--size --75),
        )
    ), 'dims');

    @include iro.bem-scope(iro.props-namespace()) {
        color:       fn.color(--fg);
        line-height: 1.4;

        p {
            margin-top: fn.dim(--margin-top);
        }
    }
}