diff options
author | Volpeon <git@volpeon.ink> | 2024-11-22 21:09:50 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-11-22 21:09:50 +0100 |
commit | 19dc20390327021b683ba6e8169588eec3dd8e72 (patch) | |
tree | b106ed701fd3636ec9170b4399e2f22647c4093e /src/scopes/_figures.scss | |
parent | Add u-sr-only (diff) | |
download | iro-design-19dc20390327021b683ba6e8169588eec3dd8e72.tar.gz iro-design-19dc20390327021b683ba6e8169588eec3dd8e72.tar.bz2 iro-design-19dc20390327021b683ba6e8169588eec3dd8e72.zip |
Add figures scope
Diffstat (limited to 'src/scopes/_figures.scss')
-rw-r--r-- | src/scopes/_figures.scss | 19 |
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 | } | ||