UI: font: removed from html

This commit is contained in:
Enrico Ros
2023-12-29 01:02:16 -08:00
parent 335876555f
commit fb8aa3936b
2 changed files with 5 additions and 6 deletions
+5 -5
View File
@@ -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 (
<Html lang='en' className={bodyFontClassName}>
<Html lang='en'>
<Head>
{/* Meta (missing Title, set by the App or Page) */}
<meta name='description' content={Brand.Meta.Description} />
@@ -51,9 +51,9 @@ export default function MyDocument({ emotionStyleTags }: MyDocumentProps) {
{emotionStyleTags}
</Head>
<body>
{getInitColorSchemeScript()}
<Main />
<NextScript />
{getInitColorSchemeScript()}
<Main />
<NextScript />
</body>
</Html>
);
-1
View File
@@ -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`