[dyad] Enable dark mode - wrote 2 file(s)

This commit is contained in:
[dyad]
2026-01-30 08:15:30 +01:00
parent 74ac37aa92
commit 670519dba2
2 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ export default function RootLayout({
children: React.ReactNode; children: React.ReactNode;
}>) { }>) {
return ( return (
<html lang="en"> <html lang="en" className="dark">
<body <body
className={`${geistSans.variable} ${geistMono.variable} antialiased`} className={`${geistSans.variable} ${geistMono.variable} antialiased`}
> >
@@ -31,4 +31,4 @@ export default function RootLayout({
</body> </body>
</html> </html>
); );
} }

View File

@@ -2,7 +2,7 @@ import { VideoEditor } from "@/components/video-editor";
export default function Home() { export default function Home() {
return ( return (
<div className="flex flex-col items-center justify-center min-h-screen bg-gray-50 dark:bg-gray-900 p-4 sm:p-6 md:p-8 font-[family-name:var(--font-geist-sans)]"> <div className="flex flex-col items-center justify-center min-h-screen bg-gray-900 p-4 sm:p-6 md:p-8 font-[family-name:var(--font-geist-sans)]">
<main className="w-full max-w-4xl"> <main className="w-full max-w-4xl">
<VideoEditor /> <VideoEditor />
</main> </main>