-
-
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPM logo color won't change #8248
Comments
Hi @gxlpes, I only just started looking into Shields but I think that I might be able to help :) You're right, the You can use a white npm logo via base64-encoded custom svg: Those were my steps to generate the above link:
|
Hi @chris48s, |
The reason for this is there are a small number of icons where we use a custom multi-coloured icon instead of the monochrome ones from simpleicons. These ones ignore the logoColor param. You're not the first person to be confused by it. I'm going to close this as a duplicate of #6208 - there's more info in there. |
update: #6208 (comment) |
Are you experiencing an issue with...
shields.io
馃悶 Description
I have some shields.io badges in my GitHub profile that I like to be kept with a white color, but the NPM won't accept the white color or any other color.
The
logoColor=
method is not working at all.My line of code inside of a GitHub README looks like this:
![NPM](https://img.shields.io/badge/NPM-2D3136.svg?style=for-the-badge&logo=npm&logoColor=white)
馃敆 Link to the badge
https://img.shields.io/badge/NPM-2D3136.svg?style=for-the-badge&logo=npm&logoColor=white
馃挕 Possible Solution
No response
The text was updated successfully, but these errors were encountered: