diff options
author | Volpeon <git@volpeon.ink> | 2024-11-22 21:11:48 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-11-22 21:11:48 +0100 |
commit | d94950b3596af110197395f13a18013badeba175 (patch) | |
tree | ed6e3724b88dffe826c455c69244a8dd4990ff0a /src/scopes | |
parent | Add figures scope (diff) | |
download | iro-design-d94950b3596af110197395f13a18013badeba175.tar.gz iro-design-d94950b3596af110197395f13a18013badeba175.tar.bz2 iro-design-d94950b3596af110197395f13a18013badeba175.zip |
Fix
Diffstat (limited to 'src/scopes')
-rw-r--r-- | src/scopes/_figures.scss | 1 | ||||
-rw-r--r-- | src/scopes/_figures.vars.scss | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/scopes/_figures.scss b/src/scopes/_figures.scss index 4da3c80..f619506 100644 --- a/src/scopes/_figures.scss +++ b/src/scopes/_figures.scss | |||
@@ -13,6 +13,7 @@ | |||
13 | figcaption { | 13 | figcaption { |
14 | padding-block: props.get(vars.$pad-b); | 14 | padding-block: props.get(vars.$pad-b); |
15 | font-size: props.get(vars.$font-size); | 15 | font-size: props.get(vars.$font-size); |
16 | color: props.get(vars.$text-color); | ||
16 | border-block-end: props.get(vars.$border-width) solid props.get(vars.$border-color); | 17 | border-block-end: props.get(vars.$border-width) solid props.get(vars.$border-color); |
17 | } | 18 | } |
18 | } | 19 | } |
diff --git a/src/scopes/_figures.vars.scss b/src/scopes/_figures.vars.scss index 5547c33..67c8cd5 100644 --- a/src/scopes/_figures.vars.scss +++ b/src/scopes/_figures.vars.scss | |||
@@ -2,8 +2,8 @@ | |||
2 | @use '../core.vars' as core; | 2 | @use '../core.vars' as core; |
3 | @use './implicit.vars' as implicit; | 3 | @use './implicit.vars' as implicit; |
4 | 4 | ||
5 | $pad-b: props.def(--s-figures--pad-b, props.get(core.$size--200)) !default; | 5 | $pad-b: props.def(--s-figures--pad-b, props.get(core.$size--100)) !default; |
6 | $border-width: props.def(--s-figures--border-width, props.get(core.$border-width--thick)) !default; | 6 | $border-width: props.def(--s-figures--border-width, props.get(core.$border-width--thin)) !default; |
7 | $font-size: props.def(--s-figures--font-size, props.get(core.$font-size--100)) !default; | 7 | $font-size: props.def(--s-figures--font-size, props.get(core.$font-size--100)) !default; |
8 | 8 | ||
9 | $text-color: props.def(--s-figures--text-color, props.get(core.$theme, --text-mute), 'color') !default; | 9 | $text-color: props.def(--s-figures--text-color, props.get(core.$theme, --text-mute), 'color') !default; |