Including "Dalton" theme #34
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
and the default output colors are:
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:

These are examples of Dalton theme seen by a person with different types of color blindness:
Red-Weak/Protanomaly:

Green-Weak/Deuteranomaly:

Blue-Weak/Tritanomaly:

Red-Blind/Protanopia:

Green-Blind/Deuteranopia:

Blue-Blind/Tritanopia:
