fix(#92): fix ink-2 and ink-3 contrast to meet WCAG AA across all modes #107
Reference in New Issue
Block a user
Delete Branch "feature/92-fix-secondary-text-contrast"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #92
Closes #93
Contrast failures fixed
ink-2#6b7280#4b5563ink-3#9ca3af#6b7280ink-3#6b7280#8b97a5ink-2#9ca3afOne CSS file changed (
layout.css) — all token consumers pick up the fix automatically. Both the@media (prefers-color-scheme: dark)and[data-theme='dark']sections updated.This also fixes #93 (section labels "FILE", "MORE DETAILS", "OPTIONAL" using
text-ink-3 uppercase) since they all consume theink-3token. Hardcodedtext-gray-400/text-gray-500bypasses in the enrich pages are addressed separately.Note on
ink-3: light mode ink-3 (#6b7280) passes AA onsurface(white, 4.8:1) but is 4.2:1 oncanvas(#f0efe9). It should only be used for genuinely decorative/placeholder text on canvas-background screens; all readable secondary text should useink-2.Test plan
inktext-ink-2element in light mode: ≥ 4.5:1text-ink-3element on white surface: ≥ 4.5:1