Skip to content

Commit 70cc296

Browse files
committed
πŸ“ docs: default theme dark
1 parent 6d8707f commit 70cc296

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

β€Ždocs/app/(home)/page.tsxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function HomePage() {
5050
<div className="flex flex-col ml-[-10] sm:flex-row gap-4 mt-8">
5151
<Link
5252
href="/docs"
53-
className="w-full sm:w-auto px-5 py-3 hover:bg-fd-secondary hover:text-fd-primary text-fd-foreground rounded-full transition-all flex items-center justify-center gap-2 group"
53+
className="w-full sm:w-auto px-5 py-3 font-bold hover:bg-fd-secondary hover:text-fd-primary text-fd-foreground rounded-full transition-all flex items-center justify-center gap-2 group"
5454
>
5555
Get Started
5656
<ArrowRight className="w-4 h-4 group-hover:translate-x-1 transition-transform" />

β€Ždocs/app/layout.tsxβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ export default function Layout({ children }: LayoutProps<"/">) {
1111
return (
1212
<html lang="en" className={inter.className} suppressHydrationWarning>
1313
<body className="flex flex-col min-h-screen">
14-
<RootProvider search={{ SearchDialog: DefaultSearchDialog }}>
14+
<RootProvider
15+
search={{ SearchDialog: DefaultSearchDialog }}
16+
theme={{ defaultTheme: "dark" }}
17+
>
1518
{children}
1619
</RootProvider>
1720
</body>

0 commit comments

Comments
Β (0)