Skip to content

fix: port WCAG AA color contrast fixes from crit CLI#92

Merged
tomasz-tomczyk merged 1 commit intomainfrom
fix/90-wcag-aa-color-contrast
Apr 18, 2026
Merged

fix: port WCAG AA color contrast fixes from crit CLI#92
tomasz-tomczyk merged 1 commit intomainfrom
fix/90-wcag-aa-color-contrast

Conversation

@tomasz-tomczyk
Copy link
Copy Markdown
Owner

Summary

  • Port WCAG AA color contrast fixes from crit CLI (PR #301) to crit-web
  • Update --crit-fg-muted, --crit-fg-dimmed, word-diff opacities, --crit-fg-on-accent, badge opacities across dark/light themes
  • Replace GitHub Dark Dimmed hljs with Tokyo Night Dark syntax colors
  • Update light theme: accent, green, red, yellow values + add missing hljs selectors
  • Add missing hljs selectors to light theme (.hljs-params, .hljs-link, .hljs-property, .hljs-tag, .hljs-char.escape_, .hljs-punctuation)

Review

  • Code review: passed (99.7% parity with crit)
  • Parity audit: passed

Test plan

Closes #90

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tomasz-tomczyk tomasz-tomczyk merged commit fd91b0b into main Apr 18, 2026
1 check passed
@tomasz-tomczyk tomasz-tomczyk deleted the fix/90-wcag-aa-color-contrast branch April 18, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: port WCAG AA color contrast fixes from crit CLI

1 participant