light and dark theme
This commit is contained in:
@@ -38,7 +38,7 @@ export default function RootLayout({
|
||||
)}
|
||||
>
|
||||
<Providers themeProps={{ attribute: "class", defaultTheme: "dark" }}>
|
||||
<div className="relative flex flex-col h-screen bg-slate-100">
|
||||
<div className="relative flex flex-col h-screen light:bg-gray-50 dark:bg-gray-900">
|
||||
<Navbar />
|
||||
<main className="container mx-auto max-w-7xl pt-16 px-6 flex-grow">
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user