diff options
Diffstat (limited to 'src/scopes')
-rw-r--r-- | src/scopes/_body.vars.scss | 2 | ||||
-rw-r--r-- | src/scopes/_figures.scss | 1 | ||||
-rw-r--r-- | src/scopes/_figures.vars.scss | 8 |
3 files changed, 6 insertions, 5 deletions
diff --git a/src/scopes/_body.vars.scss b/src/scopes/_body.vars.scss index 6c38c3f..8e77a17 100644 --- a/src/scopes/_body.vars.scss +++ b/src/scopes/_body.vars.scss | |||
@@ -6,6 +6,6 @@ | |||
6 | $font-size: props.def(--s-body--font-size, props.get(core.$font-size--150)) !default; | 6 | $font-size: props.def(--s-body--font-size, props.get(core.$font-size--150)) !default; |
7 | $paragraph--margin-bs: props.def(--s-body--paragraph--margin-bs, props.get(core.$size--300)) !default; | 7 | $paragraph--margin-bs: props.def(--s-body--paragraph--margin-bs, props.get(core.$size--300)) !default; |
8 | $paragraph--max-inline-size: props.def(--s-body--paragraph--max-inline-size, props.get(container.$fixed)) !default; | 8 | $paragraph--max-inline-size: props.def(--s-body--paragraph--max-inline-size, props.get(container.$fixed)) !default; |
9 | $img--max-block-size: props.def(--s-body--img--max-block-size, calc(100vh - props.get(core.$size--2400))) !default; | 9 | $img--max-block-size: props.def(--s-body--img--max-block-size, none) !default; |
10 | 10 | ||
11 | $strong--text-color: props.def(--s-body--strong--text-color, props.get(core.$theme, --heading), 'color') !default; | 11 | $strong--text-color: props.def(--s-body--strong--text-color, props.get(core.$theme, --heading), 'color') !default; |
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..1737078 100644 --- a/src/scopes/_figures.vars.scss +++ b/src/scopes/_figures.vars.scss | |||
@@ -2,9 +2,9 @@ | |||
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-more), 'color') !default; |
10 | $border-color: props.def(--s-figures--border-color, props.get(core.$theme, --border), 'color') !default; | 10 | $border-color: props.def(--s-figures--border-color, props.get(core.$theme, --border-mute), 'color') !default; |