From fb8aa3936bc99f49227dbd12d4ee15b9a9304412 Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Fri, 29 Dec 2023 01:02:16 -0800 Subject: [PATCH] UI: font: removed from html --- pages/_document.tsx | 10 +++++----- src/common/app.theme.ts | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pages/_document.tsx b/pages/_document.tsx index fc543d83c..d91cee43b 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -5,7 +5,7 @@ import createEmotionServer from '@emotion/server/create-instance'; import { getInitColorSchemeScript } from '@mui/joy/styles'; import { Brand } from '~/common/app.config'; -import { bodyFontClassName, createEmotionCache } from '~/common/app.theme'; +import { createEmotionCache } from '~/common/app.theme'; interface MyDocumentProps extends DocumentProps { @@ -14,7 +14,7 @@ interface MyDocumentProps extends DocumentProps { export default function MyDocument({ emotionStyleTags }: MyDocumentProps) { return ( - + {/* Meta (missing Title, set by the App or Page) */} @@ -51,9 +51,9 @@ export default function MyDocument({ emotionStyleTags }: MyDocumentProps) { {emotionStyleTags} - {getInitColorSchemeScript()} -
- + {getInitColorSchemeScript()} +
+ ); diff --git a/src/common/app.theme.ts b/src/common/app.theme.ts index 89d0e6cc5..ac5be2198 100644 --- a/src/common/app.theme.ts +++ b/src/common/app.theme.ts @@ -149,7 +149,6 @@ export const themeBgAppChatComposer = 'background.surface'; export const lineHeightChatText = 1.75; export const lineHeightTextarea = 1.75; -export const bodyFontClassName = inter.className; export const themeBreakpoints = appTheme.breakpoints.values; export const cssRainbowColorKeyframes = keyframes`