Skip to content
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

colorB query parameter ignored #842

Closed
kieranpotts opened this issue Dec 21, 2016 · 6 comments
Closed

colorB query parameter ignored #842

kieranpotts opened this issue Dec 21, 2016 · 6 comments

Comments

@kieranpotts
Copy link

Providing a 3-character or 6-character color hex as the value of the colorB query parameter does NOT change the color of the right-side of the shield. Other query parameters, including colorB, are OK. Example:

https://img.shields.io/codeclimate/github/nirvarnia/exceptions.svg?colorB=0099ff

@aaronschubert0
Copy link

aaronschubert0 commented Dec 28, 2016

+1 this would be good to fix. Really limits the possibilities

@FezVrasta
Copy link
Contributor

FezVrasta commented Jan 11, 2017

I'm not sure if it's related, but on the cdnjs badge, the colorB argument isn't applied all the times, what I mean is, if I watch it 10 times, 9 times it will be default blue, 1 time will be the color I specified.

img

@espadrine
Copy link
Member

@kieranpotts I believe this was fixed by 2ba7ded.

@FezVrasta I believe this was fixed by a440c08. By the way, ?colorB only supports hex colors. I improved the website documentation to be clearer.

@FezVrasta
Copy link
Contributor

FezVrasta commented Jan 11, 2017

Thanks, why did it work with brightgreen? 😜 Also, what's the HEX of brightgreen pls?

@FezVrasta
Copy link
Contributor

FezVrasta commented Jan 11, 2017

PS, seems like it's #44CC11

@espadrine
Copy link
Member

@FezVrasta the full list is here: https://github.com/badges/shields/tree/master/colorscheme.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants