Skip to content

Commit 50600c2

Browse files
committed
added geist mono
1 parent 4854b05 commit 50600c2

File tree

4 files changed

+18
-9
lines changed

4 files changed

+18
-9
lines changed

package-lock.json

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"class-variance-authority": "^0.7.0",
1818
"clsx": "^2.0.0",
1919
"cmdk": "^0.2.0",
20+
"geist": "^1.2.1",
2021
"lucide-react": "^0.300.0",
2122
"next": "14.0.4",
2223
"next-themes": "^0.2.1",

src/app/layout.tsx

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Metadata } from "next";
22
import { Analytics } from "@vercel/analytics/react";
3-
import { Inter } from "next/font/google";
3+
import { GeistMono } from "geist/font/mono";
44

55
import "./globals.css";
66
import { ThemeProvider } from "@/components/ui/theme-provider";
@@ -11,19 +11,13 @@ export const metadata: Metadata = {
1111
description: "Generated by create next app",
1212
};
1313

14-
// If loading a variable font, you don't need to specify the font weight
15-
const inter = Inter({
16-
subsets: ["latin"],
17-
display: "swap",
18-
});
19-
2014
export default function RootLayout({
2115
children,
2216
}: {
2317
children: React.ReactNode;
2418
}) {
2519
return (
26-
<html lang="en" className={inter.className}>
20+
<html lang="en" className={GeistMono.className}>
2721
<body>
2822
<ThemeProvider
2923
attribute="class"

yarn.lock

+6-1
Original file line numberDiff line numberDiff line change
@@ -1557,6 +1557,11 @@ functions-have-names@^1.2.3:
15571557
resolved "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz"
15581558
integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==
15591559

1560+
geist@^1.2.1:
1561+
version "1.2.1"
1562+
resolved "https://registry.npmjs.org/geist/-/geist-1.2.1.tgz"
1563+
integrity sha512-xCl7zWfnWqc+TbCG5qqyeT5tnVlOO4pSJsT3Ei59DN1SR4N2VlauF8Fv0D1pPFXGUJgu6RMoeZX+wsR4T9bMhg==
1564+
15601565
get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2:
15611566
version "1.2.2"
15621567
resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz"
@@ -2136,7 +2141,7 @@ next-themes@^0.2.1:
21362141
resolved "https://registry.npmjs.org/next-themes/-/next-themes-0.2.1.tgz"
21372142
integrity sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==
21382143

2139-
2144+
next@*, "next@^13.2 || ^14", [email protected]:
21402145
version "14.0.4"
21412146
resolved "https://registry.npmjs.org/next/-/next-14.0.4.tgz"
21422147
integrity sha512-qbwypnM7327SadwFtxXnQdGiKpkuhaRLE2uq62/nRul9cj9KhQ5LhHmlziTNqUidZotw/Q1I9OjirBROdUJNgA==

0 commit comments

Comments
 (0)