mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 14:32:03 +00:00
The Vorsorge "Jetzt messen" / mark-done button hard-coded white text on a solid green fill. In the dark theme the fill is the bright Dracula green, so white-on-green reads about 1.37:1 — below the WCAG AA floor. Add a theme-aware `--success-foreground` token (near-black glyph on the dark fill, white on the darker light-mode green) mirroring the existing `--primary-foreground` pattern, and use `text-success-foreground` on both the card and list variants. Green stays only on the action button; the card surface remains neutral.