mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
fix: font
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { Metadata } from "next"
|
||||
// import { Inter as FontSans } from "next/font/google"
|
||||
import { Inter as FontSans } from "next/font/google"
|
||||
import { Inter } from "next/font/google"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { ThemeProvider } from "@/lib/providers/theme-provider"
|
||||
@@ -9,12 +9,7 @@ import { JotaiProvider } from "@/lib/providers/jotai-provider"
|
||||
import { Toaster } from "@/components/ui/sonner"
|
||||
import { ConfirmProvider } from "@/lib/providers/confirm-provider"
|
||||
|
||||
// const fontSans = FontSans({
|
||||
// subsets: ["latin"],
|
||||
// variable: "--font-sans"
|
||||
// })
|
||||
|
||||
const inter = Inter({
|
||||
const fontSans = FontSans({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-sans"
|
||||
})
|
||||
@@ -31,7 +26,7 @@ export default function RootLayout({
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en" className="h-full w-full" suppressHydrationWarning>
|
||||
<body className={cn("h-full w-full font-sans antialiased", inter.variable)}>
|
||||
<body className={cn("h-full w-full font-sans antialiased", fontSans.variable)}>
|
||||
<JazzProvider>
|
||||
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
||||
<JotaiProvider>
|
||||
|
||||
Reference in New Issue
Block a user