Repository navigation
Realign accessible color logic around new env var - #185
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.
This commit modifies #185 changes to work against `williammartin/glamour` upstream contribution using a local Git repository named `glamour-williammartin`. I have left the Go `replace` directive for testing purposes, which would be removed if merging these changes into `accessible-colors` branch.
Testing these changes against upstream
|
|
Adding a note that the upstream contribution has been merged but not released, so we could update this branch to merge into the default branch using upstream instead of merging back into |




Relates github/cli#830