From 7139d00c2143fe262127f4b7a70761bf7da0f310 Mon Sep 17 00:00:00 2001 From: MickaelK Date: Mon, 25 Mar 2024 20:22:04 +1100 Subject: [PATCH] feature (font): smoother fonts --- client/assets/css/reset.scss | 3 +++ public/assets/css/designsystem.css | 3 +++ 2 files changed, 6 insertions(+) diff --git a/client/assets/css/reset.scss b/client/assets/css/reset.scss index a866cef89..a27e12026 100644 --- a/client/assets/css/reset.scss +++ b/client/assets/css/reset.scss @@ -54,6 +54,9 @@ body.dark-mode { html { font-family: "Roboto", sans-serif; -webkit-text-size-adjust:100%; + font-smoothing: antialiased; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } body { overflow: hidden; diff --git a/public/assets/css/designsystem.css b/public/assets/css/designsystem.css index 664e18227..50b19d7df 100644 --- a/public/assets/css/designsystem.css +++ b/public/assets/css/designsystem.css @@ -31,6 +31,9 @@ html { font-family: system-ui, sans-serif; -webkit-text-size-adjust:100%; + font-smoothing: antialiased; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } body { overflow: hidden;