-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Specify color does not work #49
Comments
Use
<svg class="icon"><use xlink:href="fa-sprites-symbols.svg#fa-facebook" fill="currentColor"/></svg> |
Do you mean Also I urge the contributors to add that information in README. |
https://github.com/encharm/Font-Awesome-SVG-PNG/blob/master/font-awesome-svg-png.js - generates PNG with only two colors: BLACK and WHITE:
|
But if You choose to use SVG sprite, you can colorize seporate symbol with:
|
That's not true. From other issue, there is a way to specify hex color:
I just think it should be included in documentation. Also I didn't know that I can control svg color with CSS. Thanks for that. Gotta read through your links when I have time. |
I have tried to get it to generate a non black color and failed.
This is what I tried:
./font-awesome-svg-png.js --color CCC --sizes 64
./font-awesome-svg-png.js --color 888888 --sizes 64
./font-awesome-svg-png.js --color #888888 --sizes 64
I always get black icons. How to specify hex color I want? Please update README with that information.
The text was updated successfully, but these errors were encountered: