Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@devatreides
Copy link
Collaborator

@devatreides devatreides commented Oct 26, 2021

This PR implements a new color theme for minicli, the Dalton theme. Quoting Github: "Color blindness affects up to 8% of people worldwide, with the majority affected by the red/green color spectrum". Given these facts, the Dalton theme combines colors so that colorblind users do not suffer from misunderstandings in the colors of different types of messages.

The theme is defined as we can see below:

image

and the default output colors are:

image

These combined defined colors cover some types of color blindness. The output colors we saw above will not be confused with each other, as is often the case with a standard color palette. As you can see from the list below, a person with any of those color blindness types will see a different version of the default colors, but not the same color for different messages.

For example, this is the Unicorn theme seen by a person with Blue-Blind/Tritanopia type of color blindness:
image

These are examples of Dalton theme seen by a person with different types of color blindness:

  • Red-Weak/Protanomaly:
    image

  • Green-Weak/Deuteranomaly:
    image

  • Blue-Weak/Tritanomaly:
    image

  • Red-Blind/Protanopia:
    image

  • Green-Blind/Deuteranopia:
    image

  • Blue-Blind/Tritanopia:
    image

@syntaxseed
Copy link
Collaborator

This is fantastic!

@lotfio
Copy link
Member

lotfio commented Oct 27, 2021

Nice one !

@erikaheidi
Copy link
Member

This is amazing, thanks so much @tombenevides 🎉

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.

4 participants