Skip to content

Commit 34f7275

Browse files
committedAug 23, 2024
fix(pages): apply fontSans
1 parent c24218b commit 34f7275

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed
 

‎pages/_document.tsx

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
import { Html, Head, Main, NextScript } from "next/document";
2+
import clsx from "clsx";
3+
4+
import { fontSans } from "@/config/fonts";
25

36
export default function Document() {
47
return (
58
<Html lang="en">
69
<Head />
7-
<body className="min-h-screen bg-background font-sans antialiased">
10+
<body
11+
className={clsx(
12+
"min-h-screen bg-background font-sans antialiased",
13+
fontSans.variable,
14+
)}
15+
>
816
<Main />
917
<NextScript />
1018
</body>

0 commit comments

Comments
 (0)
Failed to load comments.