Skip to content

Commit

Permalink
hard lock on dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
t3dotgg committed Nov 13, 2024
1 parent abba7df commit 72fe70b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,8 @@
@tailwind utilities;

:root {
--background: #ffffff;
--foreground: #171717;
}

@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
--background: #0a0a0a;
--foreground: #ededed;
}

body {
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function RootLayout({
<PlausibleProvider domain="quickpic.t3.gg" />
</head>
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
className={`${geistSans.variable} ${geistMono.variable} dark antialiased`}
>
{children}
</body>
Expand Down

0 comments on commit 72fe70b

Please sign in to comment.