File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed
Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 4646}
4747
4848@theme inline {
49- --font-sans : var (--font-geist-sans );
50- --font-mono : var (--font-geist-mono );
49+ --font-sans : var (--font-inter );
5150
5251 --color-background : hsl (var (--background ));
5352 --color-foreground : hsl (var (--foreground ));
7776body {
7877 background : hsl (var (--background ));
7978 color : hsl (var (--foreground ));
79+ font-family : var (--font-inter ), sans-serif;
8080}
Original file line number Diff line number Diff line change 11import type { Metadata } from "next" ;
2- import { Geist , Geist_Mono } from "next/font/google" ;
2+ import { Inter } from "next/font/google" ;
33import { headers } from "next/headers" ;
44import { Toaster } from "sonner" ;
55import { Navbar } from "@/components/navbar" ;
66import { auth } from "@/lib/auth/auth" ;
77import "@/lib/api-client" ;
88import "./globals.css" ;
99
10- const geistSans = Geist ( {
11- variable : "--font-geist-sans" ,
12- subsets : [ "latin" ] ,
13- } ) ;
14-
15- const geistMono = Geist_Mono ( {
16- variable : "--font-geist-mono" ,
10+ const inter = Inter ( {
11+ variable : "--font-inter" ,
1712 subsets : [ "latin" ] ,
1813} ) ;
1914
@@ -33,9 +28,7 @@ export default async function RootLayout({
3328
3429 return (
3530 < html lang = "en" >
36- < body
37- className = { `${ geistSans . variable } ${ geistMono . variable } antialiased` }
38- >
31+ < body className = { `${ inter . variable } antialiased` } >
3932 { session && < Navbar /> }
4033 { children }
4134 < Toaster
You can’t perform that action at this time.
0 commit comments