You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A "label" is comprised of a name, a (background) color, and a description.
When displayed in the GitHub webapp UI, the name is printed in either black or white on top of a button-sized area whose background is filled with the label's configured color. Whether the text appears in black or white cannot directly be controlled, but is probably decided based on the L value in the HSL (as in the Farbtastic Color Picker):
Setting up a repository: apply a canned set of labels
Add some new label definition to "all my repos" (with exceptions)
Diff current set of labels on a repo against a canned config
Generate labels config from documentation, or vice versa (something simple, though)
The idea that there is a single source of truth, and it is documented.
Any file format used should be diff-friendly so that it can easily be seen whether differences exist specifically in the names, colors, descriptions, or some combination.
Change definition of an existing label (color or description) to match a given spec
Add canned label Foo to all issues and/or PRs in a repo currently tagged with label Bar
The text was updated successfully, but these errors were encountered:
This would work mainly with the GitHub "Labels" API:
A "label" is comprised of a name, a (background) color, and a description.
When displayed in the GitHub webapp UI, the name is printed in either black or white on top of a button-sized area whose background is filled with the label's configured color. Whether the text appears in black or white cannot directly be controlled, but is probably decided based on the L value in the HSL (as in the Farbtastic Color Picker):
Use cases:
The idea that there is a single source of truth, and it is documented.
Any file format used should be diff-friendly so that it can easily be seen whether differences exist specifically in the names, colors, descriptions, or some combination.
The text was updated successfully, but these errors were encountered: