refactor(website): dark mode

This commit is contained in:
iCrawl
2023-04-11 20:13:59 +02:00
parent 78e02c4b63
commit 24c462bf6f
12 changed files with 23 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ export default function Layout({ children }: PropsWithChildren) {
<main className="mx-auto max-w-7xl px-4 lg:max-w-full">
<Header />
<div className="relative top-6 mx-auto max-w-7xl gap-6 lg:flex lg:max-w-full">
<div className="lg:top-23 lg:sticky lg:h-[calc(100vh_-_100px)]">
<div className="lg:top-23 lg:sticky lg:h-[calc(100vh_-_105px)]">
<Nav />
</div>

View File

@@ -77,7 +77,7 @@ export const metadata: Metadata = {
export default function RootLayout({ children }: PropsWithChildren) {
return (
<html className={`${inter.variable} ${jetBrainsMono.variable}`} lang="en" suppressHydrationWarning>
<body className="dark:bg-dark-800 bg-light-600">
<body className="dark:bg-dark-600 bg-light-600">
<Providers>{children}</Providers>
<Analytics />
</body>