posthog.com
posthog.com copied to clipboard
fix: improve text contrast in dark mode on /vibe-check slideshow
Changes
Fixes #17926
Two contrast issues on /vibe-check in dark mode:
-
Heading — The "You'll hate PostHog if..." h1 was using text-primary which rendered dark in dark mode against the dark background. Fixed by adding dark:text-white so it adapts correctly.
-
Slide card text — The card h2 and p were using semantic color tokens (text-primary, text-secondary) that flipped to light in dark mode, making them hard to read against the fixed pastel card backgrounds. Fixed by replacing with static PostHog color tokens (text-light-12, text-light-11) that stay dark regardless of color scheme.
Before:
After: