summaryrefslogtreecommitdiffstats
path: root/src/scopes/_figures.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/scopes/_figures.scss')
-rw-r--r--src/scopes/_figures.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/scopes/_figures.scss b/src/scopes/_figures.scss
new file mode 100644
index 0000000..4da3c80
--- /dev/null
+++ b/src/scopes/_figures.scss
@@ -0,0 +1,19 @@
1@use 'sass:meta';
2@use 'iro-sass/src/bem';
3@use 'iro-sass/src/props';
4@use '../props' as *;
5
6@forward 'figures.vars';
7@use 'figures.vars' as vars;
8
9@mixin styles {
10 @include materialize-at-root(meta.module-variables('vars'));
11
12 @include bem.scope('figures') {
13 figcaption {
14 padding-block: props.get(vars.$pad-b);
15 font-size: props.get(vars.$font-size);
16 border-block-end: props.get(vars.$border-width) solid props.get(vars.$border-color);
17 }
18 }
19}