Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase contrast of interactive element borders in dark mode #2100

Merged
merged 3 commits into from
Jul 15, 2024

Conversation

lindsaym-fa
Copy link
Collaborator

Addresses issue #2091.

These changes bump up the contrast between the default background color and button + input border colors in dark mode. While this doesn't quite meet WCAG 2.1 Non-text Contrast recommendations, it is a noticeable improvement without being drastically different for current Shoelace users. Web Awesome will (and does) have a stronger adherence to non-text contrast recommendations.

With this PR, default button borders now match the theme's input border color.

Copy link

vercel bot commented Jul 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
shoelace ✅ Ready (Inspect) Visit Preview Jul 2, 2024 9:27pm

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.

Insufficient contrast between background and UI elements in dark mode
2 participants