From 62aac7e8d978185f12bca38cf619af5cd3c57f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Riedmu=CC=88ller?= Date: Wed, 9 Oct 2024 13:25:15 +0200 Subject: [PATCH] fix: remove font-family and line-height vars in favor of setting it directly --- packages/ui/lib/base.css | 6 +++--- packages/ui/lib/default-custom-properties.css | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/ui/lib/base.css b/packages/ui/lib/base.css index d472003..e59d271 100644 --- a/packages/ui/lib/base.css +++ b/packages/ui/lib/base.css @@ -2,9 +2,9 @@ @import url(../node_modules/normalize.css/normalize.css); :root { - font-family: var(--sys42-font-family); - line-height: var(--sys42-line-height); - font-weight: 400; + /* Typography */ + font-family: sans-serif; + line-height: 1.5; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; diff --git a/packages/ui/lib/default-custom-properties.css b/packages/ui/lib/default-custom-properties.css index 3f3516b..63469b0 100644 --- a/packages/ui/lib/default-custom-properties.css +++ b/packages/ui/lib/default-custom-properties.css @@ -1,8 +1,4 @@ :root { - /* Typography */ - --sys42-font-family: sans-serif; - --sys42-line-height: 1.5; - /* Spacing */ --sys42-spacing-xxs: 0.125rem; --sys42-spacing-xs: 0.25rem;