Skip to content

The Open Standard for Generative UI

fix(docs): resolve the System theme so fumadocs styles follow dark mode (#1439)

devin-ai-integration[bot]c0e6b0f9f459
diff --git a/docs/app/layout.tsx b/docs/app/layout.tsx
index 16332cf0a..c79420994 100644
--- a/docs/app/layout.tsx
+++ b/docs/app/layout.tsx
@@ -90,9 +90,7 @@ export default function Layout({ children }: LayoutProps<"/">) {
</head>
<body className="flex flex-col min-h-screen">
<PHProvider>
- <RootProvider theme={{ defaultTheme: "light", enableSystem: false }}>
- {children}
- </RootProvider>
+ <RootProvider theme={{ defaultTheme: "light" }}>{children}</RootProvider>
</PHProvider>
<Script
src="https://www.googletagmanager.com/gtag/js?id=G-MZ0TZ82NM2"