From d94950b3596af110197395f13a18013badeba175 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 22 Nov 2024 21:11:48 +0100 Subject: Fix --- src/scopes/_figures.scss | 1 + src/scopes/_figures.vars.scss | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/scopes') 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 @@ 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); } } 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 @@ @use '../core.vars' as core; @use './implicit.vars' as implicit; -$pad-b: props.def(--s-figures--pad-b, props.get(core.$size--200)) !default; -$border-width: props.def(--s-figures--border-width, props.get(core.$border-width--thick)) !default; +$pad-b: props.def(--s-figures--pad-b, props.get(core.$size--100)) !default; +$border-width: props.def(--s-figures--border-width, props.get(core.$border-width--thin)) !default; $font-size: props.def(--s-figures--font-size, props.get(core.$font-size--100)) !default; $text-color: props.def(--s-figures--text-color, props.get(core.$theme, --text-mute), 'color') !default; -- cgit v1.2.3-70-g09d2