From aeed08dc46662a0d70e04bcea612a701633736e7 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 22 Jul 2026 13:00:59 +0200 Subject: Revert "Paths" This reverts commit cc5329a5f4d3ea91cac93bc7f9b8f943b7ced226. --- src/scopes/_implicit.vars.scss | 83 ++++++++++-------------------------------- 1 file changed, 20 insertions(+), 63 deletions(-) (limited to 'src/scopes/_implicit.vars.scss') diff --git a/src/scopes/_implicit.vars.scss b/src/scopes/_implicit.vars.scss index f0256b0..64d4a8f 100644 --- a/src/scopes/_implicit.vars.scss +++ b/src/scopes/_implicit.vars.scss @@ -1,69 +1,26 @@ -@use "pkg:iro-sass/props"; -@use "../core.vars" as core; +@use 'pkg:iro-sass/src/props'; +@use '../core.vars' as core; -$paragraph--margin-bs: props.def( - --s-implicit--paragraph--margin-bs, - props.get(core.$size--200) -) !default; +$paragraph--margin-bs: props.def(--s-implicit--paragraph--margin-bs, props.get(core.$size--200)) !default; -$small--font-size: props.def( - --s-implicit--small--font-size, - props.get(core.$font-size--75) -) !default; +$small--font-size: props.def(--s-implicit--small--font-size, props.get(core.$font-size--75)) !default; -$body--font-family: props.def( - --s-implicit--body--font-family, - props.get(core.$font--standard--family) -) !default; -$body--line-height: props.def( - --s-implicit--body--line-height, - props.get(core.$font--standard--line-height) -) !default; -$body--font-size: props.def(--s-implicit--body--font-size, props.get(core.$font-size--100)); -$body--feature-settings: props.def( - --s-implicit--body--feature-settings, - props.get(core.$font--standard--feature-settings) -) !default; +$body--font-family: props.def(--s-implicit--body--font-family, props.get(core.$font--standard--family)) !default; +$body--line-height: props.def(--s-implicit--body--line-height, props.get(core.$font--standard--line-height)) !default; +$body--font-size: props.def(--s-implicit--body--font-size, props.get(core.$font-size--100)); +$body--feature-settings: props.def(--s-implicit--body--feature-settings, props.get(core.$font--standard--feature-settings)) !default; -$code--font-family: props.def( - --s-implicit--code--font-family, - props.get(core.$font--mono--family) -) !default; -$code--line-height: props.def( - --s-implicit--code--line-height, - props.get(core.$font--mono--line-height) -) !default; -$code--font-size: props.def(--s-implicit--code--font-size, 0.93em); -$code--feature-settings: props.def( - --s-implicit--code--feature-settings, - props.get(core.$font--mono--feature-settings) -) !default; +$code--font-family: props.def(--s-implicit--code--font-family, props.get(core.$font--mono--family)) !default; +$code--line-height: props.def(--s-implicit--code--line-height, props.get(core.$font--mono--line-height)) !default; +$code--font-size: props.def(--s-implicit--code--font-size, .93em); +$code--feature-settings: props.def(--s-implicit--code--feature-settings, props.get(core.$font--mono--feature-settings)) !default; -$heading--margin-bs: props.def( - --s-implicit--heading--margin-bs, - props.get(core.$size--700) -) !default; -$heading--margin-bs-sibling: props.def( - --s-implicit--heading--margin-bs-sibling, - props.get(core.$size--325) -) !default; -$heading--font-family: props.def( - --s-implicit--heading--font-family, - props.get(core.$font--standard--family) -) !default; -$heading--line-height: props.def( - --s-implicit--heading--line-height, - props.get(core.$font--standard--line-height) -) !default; -$heading--font-weight: props.def(--s-implicit--heading--font-weight, bold) !default; -$heading--font-size: props.def(--s-implicit--heading--font-size, props.get(core.$font-size--100)); -$heading--feature-settings: props.def( - --s-implicit--heading--feature-settings, - props.get(core.$font--standard--feature-settings) -) !default; +$heading--margin-bs: props.def(--s-implicit--heading--margin-bs, props.get(core.$size--700)) !default; +$heading--margin-bs-sibling: props.def(--s-implicit--heading--margin-bs-sibling, props.get(core.$size--325)) !default; +$heading--font-family: props.def(--s-implicit--heading--font-family, props.get(core.$font--standard--family)) !default; +$heading--line-height: props.def(--s-implicit--heading--line-height, props.get(core.$font--standard--line-height)) !default; +$heading--font-weight: props.def(--s-implicit--heading--font-weight, bold) !default; +$heading--font-size: props.def(--s-implicit--heading--font-size, props.get(core.$font-size--100)); +$heading--feature-settings: props.def(--s-implicit--heading--feature-settings, props.get(core.$font--standard--feature-settings)) !default; -$heading--color: props.def( - --s-implicit--heading--color, - props.get(core.$theme, --heading), - "color" -) !default; +$heading--color: props.def(--s-implicit--heading--color, props.get(core.$theme, --heading), 'color') !default; -- cgit v1.3.1