From cad79b949b060cd360582c2d208b37a51578e778 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 7 Feb 2022 10:56:11 +0100 Subject: Improved font handling --- src/_general.scss | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/_general.scss') diff --git a/src/_general.scss b/src/_general.scss index 1e7c180..54df879 100644 --- a/src/_general.scss +++ b/src/_general.scss @@ -1,7 +1,5 @@ @use 'iro-sass/src/index' as iro; -@use 'mixins/typography'; @use 'functions' as fn; -@use 'vars'; html, body { @@ -9,7 +7,7 @@ body { } body { - @include typography.set-font(vars.$font--main, (size: fn.dim(--font-size --md))); + @include fn.set-font(--standard, (--size: fn.dim(--font-size --md))); margin: 0; padding: 0; @@ -23,9 +21,9 @@ h3, h4, h5, h6 { - @include typography.set-font(vars.$font--main, (size: fn.dim(--font-size --md), weight: 400)); - - margin: 0; + margin: 0; + font-size: fn.dim(--font-size --md); + font-weight: normal; } p { -- cgit v1.2.3-54-g00ecf