diff options
author | Volpeon <git@volpeon.ink> | 2024-11-21 18:50:08 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-11-21 18:50:08 +0100 |
commit | 372987cddf2872c1bdbdb00d1aa3787e9f084d8b (patch) | |
tree | ff2e09efc76bae36dedff5f8694647a5b48bc3ac /src/scopes | |
parent | Fix body scope (diff) | |
download | iro-design-372987cddf2872c1bdbdb00d1aa3787e9f084d8b.tar.gz iro-design-372987cddf2872c1bdbdb00d1aa3787e9f084d8b.tar.bz2 iro-design-372987cddf2872c1bdbdb00d1aa3787e9f084d8b.zip |
Body scope
Diffstat (limited to 'src/scopes')
-rw-r--r-- | src/scopes/_body.scss | 4 | ||||
-rw-r--r-- | src/scopes/_body.vars.scss | 2 | ||||
-rw-r--r-- | src/scopes/_implicit.vars.scss | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/src/scopes/_body.scss b/src/scopes/_body.scss index 9091117..35f3fef 100644 --- a/src/scopes/_body.scss +++ b/src/scopes/_body.scss | |||
@@ -12,6 +12,10 @@ | |||
12 | @include bem.scope('body') { | 12 | @include bem.scope('body') { |
13 | font-size: props.get(vars.$font-size); | 13 | font-size: props.get(vars.$font-size); |
14 | 14 | ||
15 | strong { | ||
16 | color: props.get(vars.$strong--text-color); | ||
17 | } | ||
18 | |||
15 | p, | 19 | p, |
16 | li { | 20 | li { |
17 | max-inline-size: props.get(vars.$paragraph--max-inline-size); | 21 | max-inline-size: props.get(vars.$paragraph--max-inline-size); |
diff --git a/src/scopes/_body.vars.scss b/src/scopes/_body.vars.scss index 79556fa..6c38c3f 100644 --- a/src/scopes/_body.vars.scss +++ b/src/scopes/_body.vars.scss | |||
@@ -7,3 +7,5 @@ $font-size: props.def(--s-body--font-size, props.get(core.$font | |||
7 | $paragraph--margin-bs: props.def(--s-body--paragraph--margin-bs, props.get(core.$size--300)) !default; | 7 | $paragraph--margin-bs: props.def(--s-body--paragraph--margin-bs, props.get(core.$size--300)) !default; |
8 | $paragraph--max-inline-size: props.def(--s-body--paragraph--max-inline-size, props.get(container.$fixed)) !default; | 8 | $paragraph--max-inline-size: props.def(--s-body--paragraph--max-inline-size, props.get(container.$fixed)) !default; |
9 | $img--max-block-size: props.def(--s-body--img--max-block-size, calc(100vh - props.get(core.$size--2400))) !default; | 9 | $img--max-block-size: props.def(--s-body--img--max-block-size, calc(100vh - props.get(core.$size--2400))) !default; |
10 | |||
11 | $strong--text-color: props.def(--s-body--strong--text-color, props.get(core.$theme, --heading), 'color') !default; | ||
diff --git a/src/scopes/_implicit.vars.scss b/src/scopes/_implicit.vars.scss index e809ac3..388f0af 100644 --- a/src/scopes/_implicit.vars.scss +++ b/src/scopes/_implicit.vars.scss | |||
@@ -23,4 +23,4 @@ $heading--font-weight: props.def(--s-implicit--heading--font-weight, bold) | |||
23 | $heading--font-size: props.def(--s-implicit--heading--font-size, props.get(core.$font-size--100)); | 23 | $heading--font-size: props.def(--s-implicit--heading--font-size, props.get(core.$font-size--100)); |
24 | $heading--feature-settings: props.def(--s-implicit--heading--feature-settings, props.get(core.$font--standard--feature-settings)) !default; | 24 | $heading--feature-settings: props.def(--s-implicit--heading--feature-settings, props.get(core.$font--standard--feature-settings)) !default; |
25 | 25 | ||
26 | $heading--color: props.def(--s-implicit--heading--color, props.get(core.$theme, --heading), 'color'); | 26 | $heading--color: props.def(--s-implicit--heading--color, props.get(core.$theme, --heading), 'color') !default; |