Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

[QUESTION] Available Colors #1

Open
fjcaetano opened this issue Oct 17, 2013 · 1 comment
Open

[QUESTION] Available Colors #1

fjcaetano opened this issue Oct 17, 2013 · 1 comment

Comments

@fjcaetano
Copy link
Member

Hello,

First of all, I'd like to say that this project is great! I tried to create shields-as-a-service but I had huge issues when I tried to config Cairo into Heroku, so I kind of gave up. So, once again, congratulations on accomplishing this.

I'm not a Node guy, though I know a little of Javascript, so I'd like your help to find out about the colors available. I couldn't find anything in the source. I'm looking for the orange badge like this: .

I also thought if couldn't be possible to give the RGB as a parameter on the URL.

@cainus
Copy link
Contributor

cainus commented Oct 17, 2013

You should hack the "shielded" dependency ( https://github.com/cainus/shielded ) to allow that. Arbitrary colours aren't really supported because the point was for a consistent look and feel across different services (including a limited colour set), but if you really want to get into it, you just need to modify this svg file: https://github.com/cainus/shielded/blob/master/lib/shield.svg#L69 .

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

No branches or pull requests

2 participants