summaryrefslogtreecommitdiffstats
path: root/src/layouts/_button-group.scss
blob: 17de1e1ea6ecbf46555ee17f415e491462268a74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@use 'iro-sass/src/index' as iro;
@use '../functions' as fn;

@include iro.props-namespace('button-group') {
    @include iro.props-store((
        --dims: (
            --spacing: iro.fn-px-to-rem(16px),
        ),
    ), 'dims');

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