Files
ShadowrunCharSheet/sharedUI
shahondin1624 e3a40b20a6 feat: replace theme-based text color with WCAG luminance contrast (Closes #7)
Add contrastTextColor() utility that calculates relative luminance per
WCAG 2.1 and picks black or white text to guarantee >= 4.5:1 contrast.
Attribute and Talent cards now derive text color from the background
color itself instead of checking dark/light theme, fixing mid-luminance
colors that were previously unreadable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 14:07:46 +01:00
..
2025-10-25 11:22:27 +02:00