Skip to content

Commit 0a899e2

Browse files
committed
fix fonts back
1 parent c8ac992 commit 0a899e2

File tree

6 files changed

+15
-18
lines changed

6 files changed

+15
-18
lines changed

apps/example/app/custom/layout.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { JetBrains_Mono } from "@next/font/google";
1+
import { Inter } from "@next/font/google";
22

3-
const mono = JetBrains_Mono({
3+
const font = Inter({
44
subsets: ["latin"],
5-
variable: "--font-mono",
6-
weight: ["400"],
5+
variable: "--font-sans",
76
});
87

98
export default function RootLayout({
@@ -14,7 +13,7 @@ export default function RootLayout({
1413
return (
1514
<html lang="en" className="theme-light">
1615
<head />
17-
<body className={`${mono.variable} font-mono`}>{children}</body>
16+
<body className={`${font.variable} font-sans`}>{children}</body>
1817
</html>
1918
);
2019
}
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { JetBrains_Mono } from "@next/font/google";
1+
import { Inter } from "@next/font/google";
22

3-
const mono = JetBrains_Mono({
3+
const font = Inter({
44
subsets: ["latin"],
5-
variable: "--font-mono",
6-
weight: ["400"],
5+
variable: "--font-sans",
76
});
87

98
export default function RootLayout({
@@ -14,7 +13,7 @@ export default function RootLayout({
1413
return (
1514
<html lang="en" className="theme-gray-light">
1615
<head />
17-
<body className={`${mono.variable} font-mono`}>{children}</body>
16+
<body className={`${font.variable} font-sans`}>{children}</body>
1817
</html>
1918
);
2019
}
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { JetBrains_Mono } from "@next/font/google";
1+
import { Inter } from "@next/font/google";
22

3-
const mono = JetBrains_Mono({
3+
const font = Inter({
44
subsets: ["latin"],
5-
variable: "--font-mono",
6-
weight: ["400"],
5+
variable: "--font-sans",
76
});
87

98
export default function RootLayout({
@@ -14,7 +13,7 @@ export default function RootLayout({
1413
return (
1514
<html lang="en" className="theme-gray-light">
1615
<head />
17-
<body className={`${mono.variable} font-mono`}>{children}</body>
16+
<body className={`${font.variable} font-sans`}>{children}</body>
1817
</html>
1918
);
2019
}

apps/example/tailwind-custom.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
theme: {
1212
extend: {
1313
fontFamily: {
14-
mono: ["var(--font-mono)", ...fontFamily.mono],
14+
sans: ["var(--font-inter)", ...fontFamily.sans],
1515
},
1616
},
1717
},

apps/example/tailwind-radix.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
theme: {
99
extend: {
1010
fontFamily: {
11-
mono: ["var(--font-mono)", ...fontFamily.mono],
11+
sans: ["var(--font-inter)", ...fontFamily.sans],
1212
},
1313
},
1414
},

apps/example/tailwind-tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
theme: {
99
extend: {
1010
fontFamily: {
11-
mono: ["var(--font-mono)", ...fontFamily.mono],
11+
sans: ["var(--font-inter)", ...fontFamily.sans],
1212
},
1313
},
1414
},

0 commit comments

Comments
 (0)