From 55ec90a5c6ad6f652c73f6d73869300eb1aceb8c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 13 Feb 2022 11:58:14 +0100 Subject: Restructuring --- src/objects/_heading.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss index 24971bb..b5f02d8 100644 --- a/src/objects/_heading.scss +++ b/src/objects/_heading.scss @@ -1,5 +1,6 @@ @use 'iro-sass/src/index' as iro; @use '../functions' as fn; +@use '../mixins' as mx; @include iro.props-namespace('heading') { @include iro.props-store(( @@ -20,7 +21,7 @@ ), 'colors'); @include iro.bem-object(iro.props-namespace()) { - @include fn.set-font(--headline); + @include mx.set-font(--headline); display: block; margin-top: fn.dim(--in-page-margin --top); @@ -51,7 +52,7 @@ } @include iro.bem-modifier('sm') { - @include fn.set-font(--standard, ( + @include mx.set-font(--standard, ( --line-height: null, --size: fn.global-dim(--font-size --md), --weight: 500 @@ -61,7 +62,7 @@ } @include iro.bem-modifier('xs') { - @include fn.set-font(--standard, ( + @include mx.set-font(--standard, ( --line-height: null, --size: fn.global-dim(--font-size --xs), --weight: 500, -- cgit v1.2.3-54-g00ecf