From fa9361f7d4f2c2b494fc36b23cca337609a8160d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 24 Feb 2023 09:04:52 +0100 Subject: Re-add heading highlight --- src/scopes/_headings.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/scopes/_headings.scss') 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 @@ @include mx.heading-faint(fn.global-dim(--heading --sm)); } + @include iro.bem-elem('highlight') { + background-image: linear-gradient( + to top, + transparent .15em, + fn.color(--bg) .15em, + fn.color(--bg) .6em, + transparent .6em + ); + } + @include iro.bem-modifier('display') { h1, h2, -- cgit v1.2.3-54-g00ecf