From a37807e8de68ffc9d5219e69a3fb6d05d880d19b Mon Sep 17 00:00:00 2001 From: evavirseda Date: Wed, 23 Oct 2024 16:42:41 +0200 Subject: [PATCH] fix(apps-ui-kit): inconsistent font appearance in some browsers (#3575) * fix: use font-variant-alternates instead of font-feature-settings * fix format --- apps/ui-kit/src/lib/styles/index.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ui-kit/src/lib/styles/index.css b/apps/ui-kit/src/lib/styles/index.css index 9e631fe05f2..ef470db58fc 100644 --- a/apps/ui-kit/src/lib/styles/index.css +++ b/apps/ui-kit/src/lib/styles/index.css @@ -39,11 +39,11 @@ .text-headline-md, .text-headline-sm, .text-body-ds-lg { - font-feature-settings: 'ss02' on; + font-variant-alternates: 'ss02'; } .text-label-md { - font-feature-settings: 'ss01' on; + font-variant-alternates: 'ss01'; } }