mirror of
https://github.com/we-promise/sure.git
synced 2026-05-07 21:04:12 +00:00
prose.css already overrides <strong> and the heading family for dark mode, but inline <code> was missing the same treatment. The Tailwind Typography plugin's default code color (designed for the light prose theme) fell through unchanged in dark mode, producing a near-black foreground on the dark page background. URLs and other technical references rendered as <code> were effectively invisible. Adding a third override block in the same shape as the existing two: white text on a gray-800 chip in dark mode. Light mode keeps the plugin defaults. Spotted on the Mercury settings panel while reviewing #1621, but the bug applies to every .prose consumer (AI chat, GitHub release notes, dashboard prose blocks, etc.). Closes #1624.