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

Adjusts the chat name color palette to be properly high-contrast #24567

Closed
wants to merge 4 commits into from

Conversation

deathride58
Copy link
Member

@deathride58 deathride58 commented Jan 25, 2024

About the PR / Why

The colors in #24478 are particularly problematic for pretty much everyone due to the low contrast with the chat background, even with #24555.

So this PR replaces the bootleg Material Design palette with a far more distinct 8-color palette that we golfed and whipped up on the spot. This palette is designed to be reasonably high contrast (though proper text outlines would be ideal on top of this, as high-noise backgrounds can still cause readability issues with these). Additionally, the first 5 colors of the palette, the Daltonic colors, are chosen specifically for colorblind compatibility.

For the sake of maintaining parity with the material palette (which contains 8 unique colors excluding the different-luminosity variants), three extra colors are bolted on.

Technical details

N/A

Media

dotnet_uJQ50zYIvx

dotnet_TlQtHbmko0

Old daltonic palette

Normal Vision

dotnet_vgxkjB2Ttq

Protanopia

firefox_hjybeVCp5S

Deuteranopia

firefox_uWTPdJr3b0

Tritanopia

firefox_IKxAUnPRzu

Blue cone monochromacy

firefox_BTBGB2JcRQ

  • I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

N/A

Changelog

🆑 Bhijn and Myr

  • tweak: The color palette of chat names has been adjusted for better contrast and moderate colorblind compatibility (a few colors are problematic for colorblind folks like ourself, but the variety does help)

@EmoGarbage404
Copy link
Member

the colors are good but having so few colors is a bit of an issues since they will be reused quite frequently. Even if it's at the expensive of being consistently readable between all options, having more colors would be better.

@deathride58 deathride58 changed the title Daltonic palette - A high-contrast colorblind-compatible palette for chat name colors Adjusts the chat name color palette to be properly high-contrast Jan 25, 2024
@deathride58 deathride58 marked this pull request as draft January 26, 2024 20:30
@deathride58
Copy link
Member Author

Converting to draft; waiting on #24562 before we work on this further, as that opens the door to more ideal accessibility

@github-actions github-actions bot added the S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted label Feb 3, 2024
Copy link
Contributor

github-actions bot commented Feb 3, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@deathride58
Copy link
Member Author

Closing due to #24922 , still planning on a followup after #24625

@deathride58 deathride58 closed this Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: Merge Conflict Status: Needs to resolve merge conflicts before it can be accepted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants