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

@include iro.props-namespace('icon') {
    @include iro.bem-object(iro.props-namespace()) {
        display:         inline-block;
        width:           1em;
        height:          1em;
        stroke-width:    var(--icon-stroke-width, 1.5px);
        stroke-linecap:  round;
        stroke-linejoin: round;
        vertical-align:  -.12em;

        @include iro.bem-modifier('block') {
            display: block;
        }
    }
}