Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: actually use inter font

Dillion Verma4904a2959f41
diff --git a/app/layout.tsx b/app/layout.tsx
index 792f34a3..025be7d2 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -26,7 +26,7 @@ export default function RootLayout({
<body
className={cn(
"relative flex min-h-screen w-full flex-col justify-center scroll-smooth bg-background font-sans antialiased",
- fontSans.variable,
+ fontSans.className,
)}
>
<SessionProvider>
diff --git a/package.json b/package.json
index f7a4f8ff..87bc387a 100644
--- a/package.json
+++ b/package.json
@@ -22,6 +22,7 @@
},
"dependencies": {
"@auth/prisma-adapter": "^1.0.0",
+ "@fontsource/inter": "^5.0.15",
"@headlessui/react": "^1.7.17",
"@hookform/resolvers": "^3.1.1",
"@next-auth/prisma-adapter": "^1.0.7",
@@ -68,6 +69,7 @@
"eslint": "8.43.0",
"eslint-config-next": "14.0.2",
"framer-motion": "^10.12.16",
+ "geist": "^1.1.0",
"gray-matter": "^4.0.3",
"lucide-react": "^0.274.0",
"next": "14.0.2",
diff --git a/yarn.lock b/yarn.lock
index 003bacc5..f91b078d 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -489,6 +489,11 @@
resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.1.6.tgz#22958c042e10b67463997bd6ea7115fe28cbcaf9"
integrity sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==
+"@fontsource/inter@^5.0.15":
+ version "5.0.15"
+ resolved "https://registry.yarnpkg.com/@fontsource/inter/-/inter-5.0.15.tgz#c01d160cd02bde1a4ce09f2c38b2063b66caf870"
+ integrity sha512-/IoWYEXl8lqJEx50JqNPT+bI4VNwxb/bg2oOfvG8PiEsDsmHRFvWBVHlohBNn1+QdBf+KbAjU/gb4vlGOSsVWw==
+
"@grpc/grpc-js@^1.7.1":
version "1.9.9"
resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.9.9.tgz#ce3a05439b1c957ec64c2ecdc6f1e4f54e8af797"
@@ -3761,6 +3766,11 @@ functions-have-names@^1.2.3:
resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834"
integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==
+geist@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/geist/-/geist-1.1.0.tgz#94bad7fce09939f269d3388af8b88940cc452eea"
+ integrity sha512-UwZH+ekwAt1T5XYlviFD+jUXFeRRawDDT8RtpJ//IHTPXlVIO6BCcZ8M0Pxg1K/FT3H8HLn3KJqMsPLHbo1HNg==
+
get-caller-file@^2.0.5:
version "2.0.5"
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"