summaryrefslogtreecommitdiffstats
path: root/src/layouts/_button-group.scss
blob: 5f2cbe7eaa99aca7e761ae06f5fd552e54f31766 (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),
        ),
    ), 'dims');

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