Skip to content

Commit ea76ded

Browse files
testac974claude
andcommitted
Fix prose styling for light mode
Use prose-gray as base with dark:prose-invert for dark mode only Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7aa5714 commit ea76ded

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/app/book/[part]/[chapter]/[section]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default async function BookSectionPage({ params }: PageProps) {
8080

8181
{/* Content */}
8282
<div
83-
className="prose prose-invert prose-green max-w-none"
83+
className="prose prose-gray dark:prose-invert prose-green max-w-none"
8484
dangerouslySetInnerHTML={{ __html: htmlContent }}
8585
/>
8686

website/app/book/preface/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default async function PrefacePage() {
4747

4848
{/* Content */}
4949
<div
50-
className="prose prose-invert prose-green max-w-none"
50+
className="prose prose-gray dark:prose-invert prose-green max-w-none"
5151
dangerouslySetInnerHTML={{ __html: htmlContent }}
5252
/>
5353

0 commit comments

Comments
 (0)