summaryrefslogtreecommitdiffstats
path: root/src_demo/components/_box.scss
blob: 21d61c0e9b75c8f3e4b00429d289f99bb17f430a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@use 'iro-sass/src/index' as iro;
@use '../../src/functions' as fn;

@include iro.props-namespace('box') {
    @include iro.props-store((
        --colors: (
            --border: fn.global-color(--border),
        ),
    ));

    @include iro.bem-component(iro.props-namespace()) {
        margin-block: 2em;
        padding:      2em;
        border:       1px solid fn.color(--border);
    }
}