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

Why are the fill attribute fixed to black in the svg files included in the zip?? #210

Closed
ruifortes opened this issue Mar 27, 2018 · 1 comment

Comments

@ruifortes
Copy link

Hi.
I just downloaded the zip from the official site and the included svg files have the "fill" attribute fixed to black.
I'm using webpack to bundle in all svg files and I have to manually remove the fill attribute from the files in order to control it's color from css.
I'm linking to so I cannot even override it with "!important"
What the proper way of using the svg files directly?
Thanks

@jonrohan
Copy link
Member

Apologies that wasn't updated with the release this week, I've updated it. You should find optimized svg files in /build/svg/.

If you're Interested, I'm currently working on an official react component #196 still a work in progress but you can test out the alpha releases https://www.npmjs.com/package/%40github%2Focticons-react

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