mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 18:35:35 +00:00
Add docs snippet for label coloring (#1530)
* Update label docs to reflect color information Resolves #790 * Clarify doc language Because I couldn't just have a one-commit PR. No, that'd be too easy. * Futher clarification I guess we might as well make it right.
This commit is contained in:
committed by
Ryan Gribble
parent
cf0edddc30
commit
3a1070feca
@@ -14,3 +14,8 @@ The default labels that come with every repository are:
|
||||
- invalid
|
||||
- question
|
||||
- wontfix
|
||||
|
||||
## A Note on Label Colors
|
||||
The official API returns colors without the leading `#` that you may expect when working with hex colors -- for example, white would return `FFFFFF`, not `#FFFFFF`.
|
||||
|
||||
If you're displaying the colors, you may need to add the `#` in order to display them properly.
|
||||
Reference in New Issue
Block a user