✨ feat: Remove Theme Switcher
- Update body class to use `dark` instead of `light` for dark mode - Remove `ThemeSwitcher` component as it is no longer needed - Update global CSS to set dark mode styles on the `.dark` class instead of `.light`
This commit is contained in:
@@ -18,6 +18,6 @@ body {
|
||||
font-family: "JetBrains Mono", monospace;
|
||||
}
|
||||
|
||||
.light {
|
||||
.dark {
|
||||
@apply bg-black text-white;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ export const metadata: Metadata = {
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html className="dark" lang="en">
|
||||
<body className={`bg-black text-white light:bg-white light:text-black font-sans`}>
|
||||
<body className={`bg-black text-white dark:bg-white dark:text-black font-sans`}>
|
||||
<div className="text-xl 2xl:mx-72 xl:mx-36 md:mx-6">
|
||||
<MainHeader />
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user