From 9cf32988c5a69a5c6380c2c83f7fd6aa7cb2a2f9 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 18 Dec 2023 14:21:48 +0100 Subject: Better heading mixin --- src/objects/_heading.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss index e02e0a1..6f5e5b0 100644 --- a/src/objects/_heading.scss +++ b/src/objects/_heading.scss @@ -42,42 +42,42 @@ } @include iro.bem-modifier('xxl') { - @include mx.heading-strong(fn.global-dim(--heading --lg)); + @include mx.heading-strong(--lg); } @include iro.bem-modifier('xl') { - @include mx.heading-medium(fn.global-dim(--heading --md)); + @include mx.heading-medium(--md); } @include iro.bem-modifier('lg', 'md', 'sm', 'xs') { - @include mx.heading-faint(fn.global-dim(--heading --sm)); + @include mx.heading-faint(--sm); } @include iro.bem-modifier('display') { @include mx.set-font(--headline); @include iro.bem-modifier('xxl') { - @include mx.heading-strong(fn.global-dim(--heading --display --xxl)); + @include mx.heading-strong(--display --xxl); } @include iro.bem-modifier('xl') { - @include mx.heading-strong(fn.global-dim(--heading --display --xl)); + @include mx.heading-strong(--display --xl); } @include iro.bem-modifier('lg') { - @include mx.heading-strong(fn.global-dim(--heading --display --lg)); + @include mx.heading-strong(--display --lg); } @include iro.bem-modifier('md') { - @include mx.heading-strong(fn.global-dim(--heading --display --md)); + @include mx.heading-strong(--display --md); } @include iro.bem-modifier('sm') { - @include mx.heading-medium(fn.global-dim(--heading --display --sm)); + @include mx.heading-medium(--display --sm); } @include iro.bem-modifier('xs') { - @include mx.heading-faint(fn.global-dim(--heading --display --xs)); + @include mx.heading-faint(--display --xs); } } } -- cgit v1.2.3-70-g09d2