Skip to content

Commit

Permalink
Updated Font Smoothing variables to use JS styled variables (#1058)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perez <[email protected]>
  • Loading branch information
bexsoft authored Oct 26, 2024
1 parent 8bcc99a commit 8714f0f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/GlobalStyles/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,18 @@ 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"],
color: theme.colors["Color/Neutral/Text/colorTextLabel"],
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,
Expand Down

0 comments on commit 8714f0f

Please sign in to comment.