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

Add changing message color! #6710

Closed
Avnsx opened this issue Jul 4, 2021 · 3 comments
Closed

Add changing message color! #6710

Avnsx opened this issue Jul 4, 2021 · 3 comments

Comments

@Avnsx
Copy link

Avnsx commented Jul 4, 2021

📋 Description

I've figured out a github repo stars shields icon like this: https://img.shields.io/github/stars/Avnsx/Escape-from-Tarkov-Auto-Examine?style=flat-square&label=%E2%AD%90%20Stars&color=ffc83d&messageColor=ffffff

but as you see the text that displays the amount of stars on the right is still black(wanted to change it to white by hex color code) even though I tried doing &messageColor=ffffff. I'm guessing that it just doesn't exist, as I couldn't find anything about changing the color of the "message" as you guys call it in the docs.

@calebcartwright
Copy link
Member

The supported query parameters are enumerated here on the main Shields.io website.

However, it sounds like you're asking if you can customize the color of the text, and if so then this would be a duplicate of various prior issues including dating back to #504.

We do not allow the text colors to be customized. That's very much by design, and not going to change.

If that's no what you're requesting, could you please rephrase and elaborate on your ask?

@Avnsx
Copy link
Author

Avnsx commented Jul 4, 2021

The supported query parameters are enumerated here on the main Shields.io website.

However, it sounds like you're asking if you can customize the color of the text, and if so then this would be a duplicate of various prior issues including dating back to #504.

We do not allow the text colors to be customized. That's very much by design, and not going to change.

If that's no what you're requesting, could you please rephrase and elaborate on your ask?

That's pretty unfortunate, I was hoping to change the black 8 to a white 8 (the right text)

@calebcartwright
Copy link
Member

That's pretty unfortunate, I was hoping to change the black 8 to a white 8 (the right text)

Thank you for clarifying. Being infinitely customizable is an explicit non-goal of the project and as I mentioned previously the decision to automatically select white/black text based on the color of the background is a decision we're sticking with. Using white text on that background would make the text borderline unreadable, which is one of several reasons why we made the decision.

Going to close this as a duplicate accordingly

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

2 participants