Skip to content

fix(theme): improve accent color contrast in light default theme (#609) - #619

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/609-light-theme-accent-contrast
Aug 26, 2026
Merged

fix(theme): improve accent color contrast in light default theme (#609)#619
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/609-light-theme-accent-contrast

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Closes #609

Summary

  • Added QueryaColors.accentCyanLight (Color(0xFF0E7490) / Cyan-700) satisfying WCAG 2.1 AA 4.5:1+ contrast against light canvas and surfaces.
  • Updated QueryaWorkbenchTheme.lightDefault to use accentCyanLight with onAccent = Color(0xFFFFFFFF) (5.37:1 contrast ratio).
  • Preserved bright accentCyan (#22D3EE) for dark themes.
  • Added WCAG 2.1 AA color contrast test suite in test/core/theme/color_contrast_test.dart.

@github-actions github-actions Bot added bug Something isn't working theme Theming, colors, VS Code themes labels Aug 26, 2026
@github-actions github-actions Bot added this to the Theme system milestone Aug 26, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit adc6919 into dev Aug 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working theme Theming, colors, VS Code themes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant