diff options
| author | Volpeon <git@volpeon.ink> | 2026-01-27 18:30:10 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2026-01-27 18:30:10 +0100 |
| commit | d9c5d5e4bb4160284c9f9728f4dc6b28b80b8af3 (patch) | |
| tree | 0d3a94d593c780729ecd90ea117daeea777bc470 /src | |
| parent | Navbar fix (diff) | |
| download | iro-design-d9c5d5e4bb4160284c9f9728f4dc6b28b80b8af3.tar.gz iro-design-d9c5d5e4bb4160284c9f9728f4dc6b28b80b8af3.tar.bz2 iro-design-d9c5d5e4bb4160284c9f9728f4dc6b28b80b8af3.zip | |
o-heading: Fix underline in static themes
Diffstat (limited to 'src')
| -rw-r--r-- | src/objects/_heading.scss | 8 | ||||
| -rw-r--r-- | src/objects/_heading.vars.scss | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss index 1d6e2dc..eed30e8 100644 --- a/src/objects/_heading.scss +++ b/src/objects/_heading.scss | |||
| @@ -73,6 +73,14 @@ | |||
| 73 | } | 73 | } |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | @include bem.elem('highlight') { | ||
| 77 | background-image: linear-gradient(to top, | ||
| 78 | transparent props.get(vars.$bg-start), | ||
| 79 | props.get(vars.$static-themes, $theme, --bg-color) props.get(vars.$bg-start), | ||
| 80 | props.get(vars.$static-themes, $theme, --bg-color) props.get(vars.$bg-end), | ||
| 81 | transparent props.get(vars.$bg-end)); | ||
| 82 | } | ||
| 83 | |||
| 76 | @include bem.modifier('display') { | 84 | @include bem.modifier('display') { |
| 77 | @each $mod, $value in vars.$sizes { | 85 | @each $mod, $value in vars.$sizes { |
| 78 | @include bem.modifier($mod) { | 86 | @include bem.modifier($mod) { |
diff --git a/src/objects/_heading.vars.scss b/src/objects/_heading.vars.scss index cf07488..c7c08a6 100644 --- a/src/objects/_heading.vars.scss +++ b/src/objects/_heading.vars.scss | |||
| @@ -161,6 +161,7 @@ $static-themes: props.def(--o-heading, (), 'color'); | |||
| 161 | 161 | ||
| 162 | $static-themes: props.merge($static-themes, ( | 162 | $static-themes: props.merge($static-themes, ( |
| 163 | $heading-theme: ( | 163 | $heading-theme: ( |
| 164 | --bg-color: props.get(core.$transparent-colors, $theme, --200), | ||
| 164 | --text-color: props.get(core.$transparent-colors, $theme, --900), | 165 | --text-color: props.get(core.$transparent-colors, $theme, --900), |
| 165 | 166 | ||
| 166 | --xxl: ( | 167 | --xxl: ( |
