From 9dfc78ef25cd6919f751a9945fa20bf30a683b56 Mon Sep 17 00:00:00 2001 From: Benjamin Perez Date: Fri, 25 Oct 2024 22:06:17 -0600 Subject: [PATCH] Updated Font Smoothing variables to use JS styled variables Signed-off-by: Benjamin Perez --- src/components/GlobalStyles/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/GlobalStyles/index.tsx b/src/components/GlobalStyles/index.tsx index 3bc9869a..29fdc12a 100644 --- a/src/components/GlobalStyles/index.tsx +++ b/src/components/GlobalStyles/index.tsx @@ -122,9 +122,9 @@ const GlobalStyles = () => { }, html: { boxSizing: "border-box", - "-webkit-text-size-adjust": "100%", - "-webkit-font-smoothing": "antialiased", - "-moz-osx-font-smoothing": "grayscale", + WebkitTextSizeAdjust: "100%", + WebkitFontSmoothing: "antialiased", + MozOsxFontSmoothing: "grayscale", }, body: { backgroundColor: theme.colors["Color/Neutral/Bg/colorBgContainer"], @@ -132,8 +132,8 @@ const GlobalStyles = () => { minHeight: "100vh", fontFamily: "'Geist', sans-serif", margin: 0, - "-webkit-font-smoothing": "antialiased", - "-moz-osx-font-smoothing": "grayscale", + WebkitFontSmoothing: "antialiased", + MozOsxFontSmoothing: "grayscale", fonWeight: 400, fontSize: 14, lineHeight: 1.5,