summaryrefslogtreecommitdiffstats
path: root/src/scopes/_figures.scss
blob: f61950645b812591c6e84474bb02ee7d38e52c58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@use 'sass:meta';
@use 'iro-sass/src/bem';
@use 'iro-sass/src/props';
@use '../props' as *;

@forward 'figures.vars';
@use 'figures.vars' as vars;

@mixin styles {
    @include materialize-at-root(meta.module-variables('vars'));

    @include bem.scope('figures') {
        figcaption {
            padding-block:    props.get(vars.$pad-b);
            font-size:        props.get(vars.$font-size);
            color:            props.get(vars.$text-color);
            border-block-end: props.get(vars.$border-width) solid props.get(vars.$border-color);
        }
    }
}