From f0fcc8f9b417d0faa6c42dc4043502013a4b3082 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 11 Jan 2023 20:36:22 +0100 Subject: Update --- src/_base.scss | 1 - src/_declare-vars.scss | 7 ++++--- src/_functions.scss | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/_base.scss b/src/_base.scss index 1330725..740fe3f 100644 --- a/src/_base.scss +++ b/src/_base.scss @@ -22,7 +22,6 @@ body { color: fn.color(--fg); } -html, pre, code { font-feature-settings: 'calt' 0, 'dlig' 1, 'ss09' 1; diff --git a/src/_declare-vars.scss b/src/_declare-vars.scss index 86c9c3f..4a93dba 100644 --- a/src/_declare-vars.scss +++ b/src/_declare-vars.scss @@ -59,9 +59,10 @@ --line-height: 1.5, ), --headline: ( - --family: ('Garet', fn.dim(--font --standard --family, null)), - --line-height: 1.2, - --weight: 700, + --family: ('Garet', fn.dim(--font --standard --family, null)), + --line-height: 1.2, + --weight: 700, + --feature-settings: '\'ss02\'' 1, ), --mono: ( --family: ('Iosevka Term SS09', 'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace), diff --git a/src/_functions.scss b/src/_functions.scss index 4a91629..efc73e2 100644 --- a/src/_functions.scss +++ b/src/_functions.scss @@ -50,6 +50,7 @@ text-transform: font-prop($font, $overrides, $key, --transform), letter-spacing: font-prop($font, $overrides, $key, --spacing), font-variant-alternates: font-prop($font, $overrides, $key, --variant-alternates), + font-feature-settings: font-prop($font, $overrides, $key, --feature-settings), ); @return $map; -- cgit v1.2.3-70-g09d2