From 372987cddf2872c1bdbdb00d1aa3787e9f084d8b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 21 Nov 2024 18:50:08 +0100 Subject: Body scope --- src/objects/_badge.vars.scss | 2 +- src/objects/_button.vars.scss | 2 +- src/objects/_heading.vars.scss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_badge.vars.scss b/src/objects/_badge.vars.scss index 6327e7b..ff07148 100644 --- a/src/objects/_badge.vars.scss +++ b/src/objects/_badge.vars.scss @@ -73,7 +73,7 @@ $default-theme: props.def(--o-badge, ( --label: props.get(core.$theme, --heading), ), ) -), 'color'); +), 'color') !default; $default-theme: props.merge($default-theme, $default-theme-override); $static-themes: props.def(--o-badge, (), 'color'); diff --git a/src/objects/_button.vars.scss b/src/objects/_button.vars.scss index f70bde7..4f7b552 100644 --- a/src/objects/_button.vars.scss +++ b/src/objects/_button.vars.scss @@ -81,7 +81,7 @@ $default-theme: props.def(--o-button, ( --label: props.get(core.$theme, --base, --700-text), ), ), -), 'color'); +), 'color') !default; $default-theme: props.merge($default-theme, $default-theme-override); $static-themes: props.def(--o-button, (), 'color'); diff --git a/src/objects/_heading.vars.scss b/src/objects/_heading.vars.scss index 5cd6767..90278c8 100644 --- a/src/objects/_heading.vars.scss +++ b/src/objects/_heading.vars.scss @@ -5,7 +5,7 @@ $offset: props.def(--o-heading--offset, -.02em) !default; $margin-bs: props.def(--o-heading--margin-bs, props.get(core.$size--700)) !default; $margin-bs-sibling: props.def(--o-heading--margin-bs-sibling, props.get(core.$size--325)) !default; -$text-color: props.def(--o-heading--text-color, props.get(core.$theme, --heading), 'color'); +$text-color: props.def(--o-heading--text-color, props.get(core.$theme, --heading), 'color') !default; $bg-color: props.def(--o-heading--bg-color, props.get(core.$theme, --base, --50), 'color') !default; $font-family: props.def(--o-heading--font-family, props.get(core.$font--standard--family)) !default; -- cgit v1.2.3-70-g09d2