-
Notifications
You must be signed in to change notification settings - Fork 53
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
Realign accessible color logic around new env var #185
base: accessible-colors
Are you sure you want to change the base?
Conversation
1. Introduce constant for `gh config` setting for accessible colors 2. Align existing constant for env var to match 3. Rename exported functions to distinguish use specifically for color 4. Minor enhancements to comments and tests
Does this really "fix https://github.com/github/cli/issues/830"? Maybe it won't close the issue because it's cross org but it seems to me we need to either merge this to |
No, good call out; I've updated this to "relates" because your next comment is on point: we need to start using it ...
... I think we have potentially 3 choices of how to move forward:
|
Post-discussion with Will about the above points
ReasoningWhen our efforts to build a more accessible GitHub CLI experience started, we didn't know the full scope of how it would play out in The question is where does this live?
The idea of a new |
Following Go `x` convention seen across various projects, the former `accessibility` package has been relocated to communicate its experimental status more clearly to extension authors. It has also been renamed to `color` to align with adopting Primer Style color role functionality.
Relates github/cli#830