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
Should checkmark on successful pr merge
be styled as magenta
or green
?
#9047
Comments
Code in question and its historyDigging into the history behind Lines 362 to 369 in 4896546
Highly subjective with no clear right answerI can understand the current state and the suggestion equally as both are equally valid:
Supporting terminal accessibility using base 16 colors means this is complicatedThe GitHub CLI is working to improve the accessibility of the GitHub CLI including how color is used and ensuring that color is not the only contextual distinction when used. This is relevant to this conversation because it limits CLI applications like |
After discussing this internally we are content with the decision to use ANSI magenta to represent states relating to merging or merged as documented in our Primer CLI Foundations. For most colour palettes, this colour is similar enough to the Web UI to share meaning, and not to appear as an error. If our users choose to adjust the ANSI colours in ways that might indicate something else, that's their choice but it's not something we want to address in this case where it is a part of our core design palette. |
Description
I'm creating this from a discussion on slack, where a user felt friction that that it appeared their merge might have errored or failed in some way because their theme had ANSI
magenta
as more red/pink than purple:The choice of
magenta
was chosen to signal similarity to the GitHub Web UI colours where merged PRs are represented with a purple:While there are other places like
issue list
(screenshot below) that usemagenta
styling to indicate the state of the issue and we probably don't want to change those, usingmagenta
to indicate the success or failure of an operation may be something we want to change togreen
since the colour choice there has a bit more implication.The text was updated successfully, but these errors were encountered: