summaryrefslogtreecommitdiffstats
path: root/src/scopes/_headings.scss
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/scopes/_headings.scss
parentUpdate (diff)
downloadiro-design-fa9361f7d4f2c2b494fc36b23cca337609a8160d.tar.gz
iro-design-fa9361f7d4f2c2b494fc36b23cca337609a8160d.tar.bz2
iro-design-fa9361f7d4f2c2b494fc36b23cca337609a8160d.zip
Re-add heading highlight
Diffstat (limited to 'src/scopes/_headings.scss')
-rw-r--r--src/scopes/_headings.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/scopes/_headings.scss b/src/scopes/_headings.scss
index 5b05b45..2f97ec5 100644
--- a/src/scopes/_headings.scss
+++ b/src/scopes/_headings.scss
@@ -34,6 +34,16 @@
34 @include mx.heading-faint(fn.global-dim(--heading --sm)); 34 @include mx.heading-faint(fn.global-dim(--heading --sm));
35 } 35 }
36 36
37 @include iro.bem-elem('highlight') {
38 background-image: linear-gradient(
39 to top,
40 transparent .15em,
41 fn.color(--bg) .15em,
42 fn.color(--bg) .6em,
43 transparent .6em
44 );
45 }
46
37 @include iro.bem-modifier('display') { 47 @include iro.bem-modifier('display') {
38 h1, 48 h1,
39 h2, 49 h2,