-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
setting the stroke color #784
Comments
I can confirm this issue in my Angular project. Looks like it's different for every icon. For example, |
I can also confirm that I am having this issue in my ionic application project.
Some icons seem to work fine but I noticed it when an icon was missing from a page and it turns out that icon had been deleted/renamed so I picked a similar icon to replace it with, attaching the same class to it.
The class above does not seem to work. I even replaced the variable to just the colour red and that did nothing. It's odd that some icons work as normal and that it was also working before I started using the new version. Would really appreciate a fix on this ASAP. |
Yep... This issue is probably a duplicate of #778. You can use the CSS property filter to invert the color to white, at least. |
Need developer attention on this!! Seems like many SVG icons have hard-coded stroke colors which is really annoying.. |
Same here, I can't use it because of this :( |
The problem is the following I think: most outline icons have path defined with fixed These should probably be modified with I've provided a PR #805 to fix this issue. |
Agree with @peterpeterparker . There are few icons with |
#817 also references this |
Try this :
|
Thank you Perdixo75. That fixed the issue for me. |
thanks Perdixo75. It works |
I am using the icon people-outline using the HTML:
<ion-icon name="people-outline" class="overviewIcon" style="color: blue;"></ion-icon>
The color remains black even with the style. How can I change the border color or the fill color of the icon ?
The text was updated successfully, but these errors were encountered: