mirror of
https://github.com/bretzel-app/crumbs.git
synced 2026-10-12 20:06:57 +02:00
The typography plugin gives each prose element its own --tw-prose-* variable with a hardcoded grey default. Only body, headings, links and code were remapped to parchment tokens, so bold text (and quotes, kbd, bullets, counters, hr and table borders) kept their light-mode greys in dark mode. Bold rendered near-black on the dark surface. Map every variable to a theme token so [data-theme="dark"] flips them all, and add an e2e scenario asserting bold text in the card preview and editor computes to --text in dark mode. Fixes #86 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>