- 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`
24 lines
355 B
CSS
24 lines
355 B
CSS
@import "tailwindcss";
|
|
|
|
/* :root {
|
|
--background: #ffffff;
|
|
--foreground: #171717;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background: #0a0a0a;
|
|
--foreground: #ededed;
|
|
}
|
|
} */
|
|
|
|
body {
|
|
color: var(--foreground);
|
|
background: var(--background);
|
|
font-family: "JetBrains Mono", monospace;
|
|
}
|
|
|
|
.dark {
|
|
@apply bg-black text-white;
|
|
}
|