Skip to content

Fix invisible prose headings and bold in dark mode#56

Merged
Kanyandula merged 1 commit into
masterfrom
fix/dark-mode-prose-colors
May 16, 2026
Merged

Fix invisible prose headings and bold in dark mode#56
Kanyandula merged 1 commit into
masterfrom
fix/dark-mode-prose-colors

Conversation

@Kanyandula
Copy link
Copy Markdown
Owner

@tailwindcss/typography pins heading/bold/link/quote/code colors to its own --tw-prose-* variables, which kept their light-mode dark-gray defaults regardless of the .dark class. Paragraph text inherited the token-driven color and flipped correctly, but headings and bold stayed near-black on the dark surface — invisible on blog detail, the About page, and the Tiptap editor.

Drive every prose color var off the existing --color-* custom properties so prose tracks the same .dark token swap the rest of the site already uses. No template changes; no prose-invert.

@tailwindcss/typography pins heading/bold/link/quote/code colors to its
own --tw-prose-* variables, which kept their light-mode dark-gray
defaults regardless of the .dark class. Paragraph text inherited the
token-driven color and flipped correctly, but headings and bold stayed
near-black on the dark surface — invisible on blog detail, the About
page, and the Tiptap editor.

Drive every prose color var off the existing --color-* custom
properties so prose tracks the same .dark token swap the rest of the
site already uses. No template changes; no prose-invert.
@Kanyandula Kanyandula merged commit aca1433 into master May 16, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant