We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d710ce commit 3a28fe2Copy full SHA for 3a28fe2
2 files changed
examples/nextjs/src/app/layout.tsx
@@ -6,7 +6,6 @@ const pretendard = localFont({
6
src: '../fonts/PretendardVariable.woff2',
7
display: 'swap',
8
weight: '45 920',
9
- variable: '--font-pretendard',
10
});
11
12
export const metadata: Metadata = {
@@ -21,7 +20,7 @@ export default function RootLayout({
21
20
}>) {
22
return (
23
<html lang="ko">
24
- <body className={`${pretendard.variable} font-pretendard`}>
+ <body className={`${pretendard.className}`}>
25
{children}
26
</body>
27
</html>
examples/nextjs/tailwind.config.ts
0 commit comments