fix: add prose-invert to support dark mode

This commit is contained in:
p-sw 2024-06-01 02:43:51 +09:00
parent ac12cbd64a
commit 1d64986591

View File

@ -35,7 +35,7 @@ function DocsLayout() {
return (
<div className="flex-grow grid grid-cols-[16rem_1fr] w-full max-w-5xl mx-auto">
<SideNav />
<main className="prose prose-lg p-8">
<main className="prose prose-lg p-8 dark:prose-invert">
<Outlet />
</main>
</div>