summaryrefslogtreecommitdiffstats
path: root/src/scopes/_implicit.vars.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/scopes/_implicit.vars.scss')
-rw-r--r--src/scopes/_implicit.vars.scss83
1 files changed, 20 insertions, 63 deletions
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 @@
1@use "pkg:iro-sass/props"; 1@use 'pkg:iro-sass/src/props';
2@use "../core.vars" as core; 2@use '../core.vars' as core;
3 3
4$paragraph--margin-bs: props.def( 4$paragraph--margin-bs: props.def(--s-implicit--paragraph--margin-bs, props.get(core.$size--200)) !default;
5 --s-implicit--paragraph--margin-bs,
6 props.get(core.$size--200)
7) !default;
8 5
9$small--font-size: props.def( 6$small--font-size: props.def(--s-implicit--small--font-size, props.get(core.$font-size--75)) !default;
10 --s-implicit--small--font-size,
11 props.get(core.$font-size--75)
12) !default;
13 7
14$body--font-family: props.def( 8$body--font-family: props.def(--s-implicit--body--font-family, props.get(core.$font--standard--family)) !default;
15 --s-implicit--body--font-family, 9$body--line-height: props.def(--s-implicit--body--line-height, props.get(core.$font--standard--line-height)) !default;
16 props.get(core.$font--standard--family) 10$body--font-size: props.def(--s-implicit--body--font-size, props.get(core.$font-size--100));
17) !default; 11$body--feature-settings: props.def(--s-implicit--body--feature-settings, props.get(core.$font--standard--feature-settings)) !default;
18$body--line-height: props.def(
19 --s-implicit--body--line-height,
20 props.get(core.$font--standard--line-height)
21) !default;
22$body--font-size: props.def(--s-implicit--body--font-size, props.get(core.$font-size--100));
23$body--feature-settings: props.def(
24 --s-implicit--body--feature-settings,
25 props.get(core.$font--standard--feature-settings)
26) !default;
27 12
28$code--font-family: props.def( 13$code--font-family: props.def(--s-implicit--code--font-family, props.get(core.$font--mono--family)) !default;
29 --s-implicit--code--font-family, 14$code--line-height: props.def(--s-implicit--code--line-height, props.get(core.$font--mono--line-height)) !default;
30 props.get(core.$font--mono--family) 15$code--font-size: props.def(--s-implicit--code--font-size, .93em);
31) !default; 16$code--feature-settings: props.def(--s-implicit--code--feature-settings, props.get(core.$font--mono--feature-settings)) !default;
32$code--line-height: props.def(
33 --s-implicit--code--line-height,
34 props.get(core.$font--mono--line-height)
35) !default;
36$code--font-size: props.def(--s-implicit--code--font-size, 0.93em);
37$code--feature-settings: props.def(
38 --s-implicit--code--feature-settings,
39 props.get(core.$font--mono--feature-settings)
40) !default;
41 17
42$heading--margin-bs: props.def( 18$heading--margin-bs: props.def(--s-implicit--heading--margin-bs, props.get(core.$size--700)) !default;
43 --s-implicit--heading--margin-bs, 19$heading--margin-bs-sibling: props.def(--s-implicit--heading--margin-bs-sibling, props.get(core.$size--325)) !default;
44 props.get(core.$size--700) 20$heading--font-family: props.def(--s-implicit--heading--font-family, props.get(core.$font--standard--family)) !default;
45) !default; 21$heading--line-height: props.def(--s-implicit--heading--line-height, props.get(core.$font--standard--line-height)) !default;
46$heading--margin-bs-sibling: props.def( 22$heading--font-weight: props.def(--s-implicit--heading--font-weight, bold) !default;
47 --s-implicit--heading--margin-bs-sibling, 23$heading--font-size: props.def(--s-implicit--heading--font-size, props.get(core.$font-size--100));
48 props.get(core.$size--325) 24$heading--feature-settings: props.def(--s-implicit--heading--feature-settings, props.get(core.$font--standard--feature-settings)) !default;
49) !default;
50$heading--font-family: props.def(
51 --s-implicit--heading--font-family,
52 props.get(core.$font--standard--family)
53) !default;
54$heading--line-height: props.def(
55 --s-implicit--heading--line-height,
56 props.get(core.$font--standard--line-height)
57) !default;
58$heading--font-weight: props.def(--s-implicit--heading--font-weight, bold) !default;
59$heading--font-size: props.def(--s-implicit--heading--font-size, props.get(core.$font-size--100));
60$heading--feature-settings: props.def(
61 --s-implicit--heading--feature-settings,
62 props.get(core.$font--standard--feature-settings)
63) !default;
64 25
65$heading--color: props.def( 26$heading--color: props.def(--s-implicit--heading--color, props.get(core.$theme, --heading), 'color') !default;
66 --s-implicit--heading--color,
67 props.get(core.$theme, --heading),
68 "color"
69) !default;