-
Notifications
You must be signed in to change notification settings - Fork 206
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
UI dark mode: Low contrast for the color red in rustc error messages #1088
Comments
Ah, I've just noticed #1087. However, it doesn't seem to address this specific issue (yet). |
not directly, but it does change the output background to Thoughts? Chrome (with Advanced Perceptual Contrast Algorithm (APCA) enabled) does not complain about the error text now (while it does for many other things, such as the warning text) |
That's a lot more legible 👍 I guess you can mark your PR as fixing this issue. Still, as alluded to, colors other than red (like yellow/orange, purple, green) might need pop a little bit more when the UI is set to dark, tho I haven't tested that with the new, darker background color. |
This concerns elements with CSS classes
token error
in the dark UI mode.Contrast between foreground color
#BF1B1B
and background color#343434
is 2:1 thus failing WCAG AA (according to WebAIM).I haven't checked the other colors that may appear in rustc's diagnostics.
Edit: I actually forgot to say explicitly that I personally find it hard to read. The numbers were just meant to back stuff up ^^
The text was updated successfully, but these errors were encountered: