diff options
author | Volpeon <git@volpeon.ink> | 2024-11-17 12:50:17 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-11-17 12:50:17 +0100 |
commit | ffe87c96b5e5054ac92381c0c0b917cc6c38202e (patch) | |
tree | 4cdacce3453f3f4ed3693a65000d401ffa3999d2 /src | |
parent | Update (diff) | |
download | iro-design-ffe87c96b5e5054ac92381c0c0b917cc6c38202e.tar.gz iro-design-ffe87c96b5e5054ac92381c0c0b917cc6c38202e.tar.bz2 iro-design-ffe87c96b5e5054ac92381c0c0b917cc6c38202e.zip |
Fix heading color
Diffstat (limited to 'src')
-rw-r--r-- | src/objects/_heading.scss | 1 | ||||
-rw-r--r-- | src/objects/_heading.vars.scss | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss index 89fe568..f5932f5 100644 --- a/src/objects/_heading.scss +++ b/src/objects/_heading.scss | |||
@@ -16,6 +16,7 @@ | |||
16 | font-weight: props.get(vars.$font-weight); | 16 | font-weight: props.get(vars.$font-weight); |
17 | font-feature-settings: props.get(vars.$feature-settings); | 17 | font-feature-settings: props.get(vars.$feature-settings); |
18 | line-height: props.get(vars.$line-height); | 18 | line-height: props.get(vars.$line-height); |
19 | color: props.get(vars.$text-color); | ||
19 | text-transform: none; | 20 | text-transform: none; |
20 | letter-spacing: normal; | 21 | letter-spacing: normal; |
21 | transform: translateX(props.get(vars.$offset)); | 22 | transform: translateX(props.get(vars.$offset)); |
diff --git a/src/objects/_heading.vars.scss b/src/objects/_heading.vars.scss index d15e0b8..7a441c6 100644 --- a/src/objects/_heading.vars.scss +++ b/src/objects/_heading.vars.scss | |||
@@ -5,7 +5,8 @@ $offset: props.def(--o-heading--offset, -.02em) !default; | |||
5 | $margin-bs: props.def(--o-heading--margin-bs, props.get(core.$size--700)) !default; | 5 | $margin-bs: props.def(--o-heading--margin-bs, props.get(core.$size--700)) !default; |
6 | $margin-bs-sibling: props.def(--o-heading--margin-bs-sibling, props.get(core.$size--325)) !default; | 6 | $margin-bs-sibling: props.def(--o-heading--margin-bs-sibling, props.get(core.$size--325)) !default; |
7 | 7 | ||
8 | $bg-color: props.def(--o-heading--bg-color, props.get(core.$theme, --base, --50)) !default; | 8 | $text-color: props.def(--o-heading--text-color, props.get(core.$theme, --heading), 'color'); |
9 | $bg-color: props.def(--o-heading--bg-color, props.get(core.$theme, --base, --50), 'color') !default; | ||
9 | 10 | ||
10 | $font-family: props.def(--o-heading--font-family, props.get(core.$font--headline--family)) !default; | 11 | $font-family: props.def(--o-heading--font-family, props.get(core.$font--headline--family)) !default; |
11 | $line-height: props.def(--o-heading--line-height, props.get(core.$font--headline--line-height)) !default; | 12 | $line-height: props.def(--o-heading--line-height, props.get(core.$font--headline--line-height)) !default; |