From e0815613914e16d73a30efe709a74b994cc31963 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 25 Oct 2024 19:37:52 +0200 Subject: More efficient theming --- src/scopes/_code.vars.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/scopes/_code.vars.scss') diff --git a/src/scopes/_code.vars.scss b/src/scopes/_code.vars.scss index 581347c..c1bf27c 100644 --- a/src/scopes/_code.vars.scss +++ b/src/scopes/_code.vars.scss @@ -11,8 +11,8 @@ $block--pad-b: props.def(--s-code--block--pad-b, props.get(core.$size--85)) $block--margin-bs: props.def(--s-code--block--margin-bs, props.get(implicit.$paragraph--margin-bs)) !default; $block--rounding: props.def(--s-code--block--rounding, props.get(core.$rounding)) !default; -$inline--fg: props.def(--s-code--inline--fg, props.get(core.$theme, --red, --1200)) !default; -$inline--bg: props.def(--s-code--inline--bg, props.get(core.$theme, --red, --200)) !default; +$inline--fg: props.def(--s-code--inline--fg, props.get(core.$theme, --red, --1200), 'color') !default; +$inline--bg: props.def(--s-code--inline--bg, props.get(core.$theme, --red, --200), 'color') !default; -$block--fg: props.def(--s-code--block--fg, props.get(core.$theme, --text)) !default; -$block--bg: props.def(--s-code--block--bg, props.get(core.$theme, --base, --50)) !default; +$block--fg: props.def(--s-code--block--fg, props.get(core.$theme, --text), 'color') !default; +$block--bg: props.def(--s-code--block--bg, props.get(core.$theme, --base, --50), 'color') !default; -- cgit v1.2.3-70-g09d2