-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Add support for customizing badge colors #349
Comments
Hi! Badge colors are usually there to emphasize a point (such as, for tests, whether the tests pass). For versions, it distinguishes at a glance major version zero / pre-release (in the semver definition). Orange means that the provided API is unstable. Blue means stable. We could definitely allow to override that color. Wouldn't it defeat its purpose, though? |
Ah, I thought it was hard-coded to use blue in order to match GitHub. In general, I believe that the standardized color codes is a good way to go, particularly when coming to Although it might ordinarily be discouraged, I feel the Another system, "Badge Fury" (for example), uses green for versions, and one could make their badges match if they wanted: http://badge.fury.io If you added support for doing "GitHub Issues", while specifying a tag name (at first I thought the "issues-raw" example was using a "raw" tag, but I was mistaken) then I would also be interested in replicating a waffle.io badge. By doing a Github Issues badge for issues marked "ready" only, I could recreate their badge. However, in this case, it would be great as well to use a I think adding a |
Waffle support would definitely be great. So far, the issue isn't solved, although sending requests directly to GitHub may solve it. |
What do you mean when you say "API is unstable" |
From http://semver.org:
|
I would like to be able to have some badge color override too |
👍 for badge color override |
+1 Could work just like the style through a query string such as |
This relates heavily to #401 e.g. there is no |
@timothyfcook Isn't that orthogonal to the issue? We can definitely do this: |
Cool. That's great. Maybe it's as simple as adding a bit to the Style section to explain that you can use hexadecimal color codes. |
It's meant to be implicit in the segment on how to build custom badges (see the badge color on the right): http://shields.io/#your-badge |
Just noticed that. Maybe let's highlight it somehow. Very subtle. |
How would you add color to a downloads badge? |
There is a PR for overriding colors now: #547 |
Related: #842 |
Hey guys,
I am using the "GitHub" style badge in order to denote the latest release of https://github.com/openfl/openfl on Haxelib.
I would not expect Haxelib to be supported out of the box on shields.io, and the Github badge is working great, except I really would like to customize the color. Could this be added? Something like this:
(but orange, using
color=orange
)The text was updated successfully, but these errors were encountered: