diff options
| author | Volpeon <git@volpeon.ink> | 2026-07-22 12:27:09 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2026-07-22 12:27:09 +0200 |
| commit | cc5329a5f4d3ea91cac93bc7f9b8f943b7ced226 (patch) | |
| tree | d16dea8f0a5edca2b610ecabeac5e93a4d98be2f /src/scopes/_implicit.vars.scss | |
| parent | Update _index.scss (diff) | |
| download | iro-design-master.tar.gz iro-design-master.tar.bz2 iro-design-master.zip | |
Diffstat (limited to 'src/scopes/_implicit.vars.scss')
| -rw-r--r-- | src/scopes/_implicit.vars.scss | 83 |
1 files changed, 63 insertions, 20 deletions
diff --git a/src/scopes/_implicit.vars.scss b/src/scopes/_implicit.vars.scss index 64d4a8f..f0256b0 100644 --- a/src/scopes/_implicit.vars.scss +++ b/src/scopes/_implicit.vars.scss | |||
| @@ -1,26 +1,69 @@ | |||
| 1 | @use 'pkg:iro-sass/src/props'; | 1 | @use "pkg:iro-sass/props"; |
| 2 | @use '../core.vars' as core; | 2 | @use "../core.vars" as core; |
| 3 | 3 | ||
| 4 | $paragraph--margin-bs: props.def(--s-implicit--paragraph--margin-bs, props.get(core.$size--200)) !default; | 4 | $paragraph--margin-bs: props.def( |
| 5 | --s-implicit--paragraph--margin-bs, | ||
| 6 | props.get(core.$size--200) | ||
| 7 | ) !default; | ||
| 5 | 8 | ||
| 6 | $small--font-size: props.def(--s-implicit--small--font-size, props.get(core.$font-size--75)) !default; | 9 | $small--font-size: props.def( |
| 10 | --s-implicit--small--font-size, | ||
| 11 | props.get(core.$font-size--75) | ||
| 12 | ) !default; | ||
| 7 | 13 | ||
| 8 | $body--font-family: props.def(--s-implicit--body--font-family, props.get(core.$font--standard--family)) !default; | 14 | $body--font-family: props.def( |
| 9 | $body--line-height: props.def(--s-implicit--body--line-height, props.get(core.$font--standard--line-height)) !default; | 15 | --s-implicit--body--font-family, |
| 10 | $body--font-size: props.def(--s-implicit--body--font-size, props.get(core.$font-size--100)); | 16 | props.get(core.$font--standard--family) |
| 11 | $body--feature-settings: props.def(--s-implicit--body--feature-settings, props.get(core.$font--standard--feature-settings)) !default; | 17 | ) !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; | ||
| 12 | 27 | ||
| 13 | $code--font-family: props.def(--s-implicit--code--font-family, props.get(core.$font--mono--family)) !default; | 28 | $code--font-family: props.def( |
| 14 | $code--line-height: props.def(--s-implicit--code--line-height, props.get(core.$font--mono--line-height)) !default; | 29 | --s-implicit--code--font-family, |
| 15 | $code--font-size: props.def(--s-implicit--code--font-size, .93em); | 30 | props.get(core.$font--mono--family) |
| 16 | $code--feature-settings: props.def(--s-implicit--code--feature-settings, props.get(core.$font--mono--feature-settings)) !default; | 31 | ) !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; | ||
| 17 | 41 | ||
| 18 | $heading--margin-bs: props.def(--s-implicit--heading--margin-bs, props.get(core.$size--700)) !default; | 42 | $heading--margin-bs: props.def( |
| 19 | $heading--margin-bs-sibling: props.def(--s-implicit--heading--margin-bs-sibling, props.get(core.$size--325)) !default; | 43 | --s-implicit--heading--margin-bs, |
| 20 | $heading--font-family: props.def(--s-implicit--heading--font-family, props.get(core.$font--standard--family)) !default; | 44 | props.get(core.$size--700) |
| 21 | $heading--line-height: props.def(--s-implicit--heading--line-height, props.get(core.$font--standard--line-height)) !default; | 45 | ) !default; |
| 22 | $heading--font-weight: props.def(--s-implicit--heading--font-weight, bold) !default; | 46 | $heading--margin-bs-sibling: props.def( |
| 23 | $heading--font-size: props.def(--s-implicit--heading--font-size, props.get(core.$font-size--100)); | 47 | --s-implicit--heading--margin-bs-sibling, |
| 24 | $heading--feature-settings: props.def(--s-implicit--heading--feature-settings, props.get(core.$font--standard--feature-settings)) !default; | 48 | props.get(core.$size--325) |
| 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; | ||
| 25 | 64 | ||
| 26 | $heading--color: props.def(--s-implicit--heading--color, props.get(core.$theme, --heading), 'color') !default; | 65 | $heading--color: props.def( |
| 66 | --s-implicit--heading--color, | ||
| 67 | props.get(core.$theme, --heading), | ||
| 68 | "color" | ||
| 69 | ) !default; | ||
