Skip to content

Commit 4303442

Browse files
committed
fix: move inter font to body
1 parent ab0d931 commit 4303442

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

app/globals.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
--color-background: var(--background);
99
--color-foreground: var(--foreground);
1010
--font-sans: var(--font-sans);
11-
--font-mono: var(--font-geist-mono);
1211
--color-sidebar-ring: var(--sidebar-ring);
1312
--color-sidebar-border: var(--sidebar-border);
1413
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);

app/layout.tsx

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
11
import type { Metadata } from "next";
2-
import { Geist, Geist_Mono, Inter } from "next/font/google";
2+
import { Inter } from "next/font/google";
33
import "./globals.css";
44

55
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
66

7-
const geistSans = Geist({
8-
variable: "--font-geist-sans",
9-
subsets: ["latin"],
10-
});
11-
12-
const geistMono = Geist_Mono({
13-
variable: "--font-geist-mono",
14-
subsets: ["latin"],
15-
});
16-
177
export const metadata: Metadata = {
188
title: "Create Next App",
199
description: "Generated by create next app",
@@ -26,11 +16,7 @@ export default function RootLayout({
2616
}>) {
2717
return (
2818
<html lang="en" className={inter.variable}>
29-
<body
30-
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
31-
>
32-
{children}
33-
</body>
19+
<body className={`${inter.variable} antialiased`}>{children}</body>
3420
</html>
3521
);
3622
}

0 commit comments

Comments
 (0)