summaryrefslogtreecommitdiffstats
path: root/src/layouts/_button-group.scss
blob: a70d27a35adb3b48fcd99fcb5a3d5ddbb13a89e0 (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 '../functions' as fn;

@include iro.props-namespace('button-group') {
    @include iro.props-store((
        --dims: (
            --spacing: fn.global-dim(--size --150),
        ),
    ));

    @include iro.bem-layout(iro.props-namespace()) {
        display:   flex;
        gap:       fn.dim(--spacing);
        flex-wrap: wrap;
    }
}