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

feat(cvd): support colorblind mode with daltonization #281

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

EdenEast
Copy link
Owner

@EdenEast EdenEast commented Dec 30, 2022

This change adds support for a colorblind or color vision deficiency (cvd) mode. This mode implements a daltonization algorithm that shifts color to ranges that cvd people can see which helps create contrast with colors.

colorblind-demo

Resolves: #89

@EdenEast EdenEast force-pushed the feat/cvd-colorblind branch 2 times, most recently from 4b7cff3 to 04da35e Compare December 30, 2022 01:53
@EdenEast EdenEast added enhancement New feature or request palette Change related color values of palette labels Dec 30, 2022
@nullchilly
Copy link
Collaborator

@EdenEast Good job :O

I think we should make a workflow to check for optimal distinct colors like this one: https://github.com/medialab/iwanthue

Any thoughts?

@EdenEast
Copy link
Owner Author

Hey @nullchilly 👋

Could you elaborate on what this workflow would look like. Would it be to help find their protan/deutan/tritan severity or a replacement for the daltonization?

@EdenEast EdenEast changed the title feat(cvd): support colorblind mode with daltionization feat(cvd): support colorblind mode with daltonization Jan 20, 2023
@EdenEast EdenEast force-pushed the feat/cvd-colorblind branch 2 times, most recently from 0e7a844 to b3db4b7 Compare January 20, 2023 01:57
This change adds support for a colorblind or color vision deficiency
(cvd) mode. This mode implements a daltionization algorithm that shifts
color to ranges that cvd people can see which helps create contrast with
colors.
@EdenEast EdenEast self-assigned this Jan 22, 2023
@EdenEast EdenEast merged commit f093297 into main Jan 23, 2023
@EdenEast EdenEast deleted the feat/cvd-colorblind branch January 23, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request palette Change related color values of palette
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support colorblind accessibility
2 participants