summaryrefslogtreecommitdiffstats
path: root/src/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-02-24 09:04:52 +0100
committerVolpeon <git@volpeon.ink>2023-02-24 09:04:52 +0100
commitfa9361f7d4f2c2b494fc36b23cca337609a8160d (patch)
tree6ab91d04b43f54395ae9debbb582e743cf87542d /src/objects
parentUpdate (diff)
downloadiro-design-fa9361f7d4f2c2b494fc36b23cca337609a8160d.tar.gz
iro-design-fa9361f7d4f2c2b494fc36b23cca337609a8160d.tar.bz2
iro-design-fa9361f7d4f2c2b494fc36b23cca337609a8160d.zip
Re-add heading highlight
Diffstat (limited to 'src/objects')
-rw-r--r--src/objects/_heading.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss
index b6ae3a4..7cfd9af 100644
--- a/src/objects/_heading.scss
+++ b/src/objects/_heading.scss
@@ -25,6 +25,16 @@
25 margin-top: fn.global-dim(--heading --margin-top-sibling); 25 margin-top: fn.global-dim(--heading --margin-top-sibling);
26 } 26 }
27 27
28 @include iro.bem-elem('highlight') {
29 background-image: linear-gradient(
30 to top,
31 transparent .15em,
32 fn.color(--bg) .15em,
33 fn.color(--bg) .6em,
34 transparent .6em
35 );
36 }
37
28 @include iro.bem-modifier('xxl') { 38 @include iro.bem-modifier('xxl') {
29 @include mx.heading-strong(fn.global-dim(--heading --lg)); 39 @include mx.heading-strong(fn.global-dim(--heading --lg));
30 } 40 }