From 9fb3237247f637b55a7da6bbf2847c17c2fb2ad0 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 8 Feb 2022 18:05:15 +0100 Subject: Added menu --- src/objects/_heading.scss | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'src/objects/_heading.scss') diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss index cd91c61..c1feb5e 100644 --- a/src/objects/_heading.scss +++ b/src/objects/_heading.scss @@ -51,20 +51,25 @@ } @include iro.bem-modifier('sm') { - @include fn.set-font(--standard, (--line-height: null)); + @include fn.set-font(--standard, ( + --line-height: null, + --size: fn.global-dim(--font-size --md), + --weight: 500 + )); - color: fn.color(--strong); - font-size: fn.global-dim(--font-size --md); - font-weight: 500; + color: fn.color(--strong); } @include iro.bem-modifier('xs') { - @include fn.set-font(--standard, (--line-height: null)); + @include fn.set-font(--standard, ( + --line-height: null, + --size: fn.global-dim(--font-size --xs), + --weight: 500, + --transform: uppercase, + --spacing: .5px + )); - color: fn.color(--light); - font-size: fn.global-dim(--font-size --xs); - font-weight: 500; - text-transform: uppercase; + color: fn.color(--light); } } } -- cgit v1.2.3-54-g00ecf