summaryrefslogtreecommitdiffstats
path: root/src/objects/_icon-nav.scss
blob: d1c6539ad1a5613ecc747a7ab1fdd36007a58b40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@use 'iro-sass/src/index' as iro;
@use '../functions' as fn;

@include iro.props-namespace('icon-nav') {
    @include iro.props-store((
        --dims: (
            --spacing: fn.global-dim(--size --100),
        )
    ), 'dims');

    @include iro.bem-object(iro.props-namespace()) {
        display:     flex;
        align-items: center;
        gap:         fn.dim(--spacing);

        @include iro.bem-modifier('vertical') {
            flex-direction: column;
        }
    }
}