[dyad] Fixing server error by correcting font configuration - wrote 3 file(s)
This commit is contained in:
@@ -18,7 +18,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body
|
||||
className={`${GeistSans.variable} ${GeistMono.variable} antialiased`}
|
||||
className={`${GeistSans.variable} ${GeistMono.variable} antialiased font-sans`}
|
||||
>
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Tags } from "lucide-react";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div className="flex flex-col min-h-screen font-[family-name:var(--font-geist-sans)] bg-background">
|
||||
<div className="flex flex-col min-h-screen bg-background">
|
||||
<main className="flex-grow flex items-center justify-center p-4 sm:p-8">
|
||||
<div className="flex flex-col gap-8 items-center w-full max-w-6xl">
|
||||
<div className="text-center space-y-4">
|
||||
|
||||
@@ -9,6 +9,10 @@ export default {
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
sans: ["var(--font-geist-sans)"],
|
||||
mono: ["var(--font-geist-mono)"],
|
||||
},
|
||||
colors: {
|
||||
background: 'hsl(var(--background))',
|
||||
foreground: 'hsl(var(--foreground))',
|
||||
@@ -91,4 +95,4 @@ export default {
|
||||
}
|
||||
},
|
||||
plugins: [require("tailwindcss-animate")],
|
||||
} satisfies Config;
|
||||
} satisfies Config;
|
||||
Reference in New Issue
Block a user