-
Notifications
You must be signed in to change notification settings - Fork 15
Using stroke to color is overreaching #6
Comments
I came across this as well and was hoping to help out. Killing the stroke certainly fixes the issue, but then I suppose any icon with a stroke in place isn't going to be magically colorized. Simple as a regex to see if a stroke is being applied and using that to determine whether or not to style the stroke? |
@tkadlec yeah, that should be a decent enough solution. Trying to see what I can do about this today. |
my fix for the moment is to use grunt-string-replace with the config below. this just parses all my inline-svgs and removes the stroke-attributes. not superclean but works for me.
|
@pshizzle @tkadlec so, at the moment, the issue seems to lie in that you can fix your problem by not having a stroke on the svg in the first place. That's a bit worrisome, as the reason we color the stroke at all is that it was expected to be colored in other cases. :/ |
Fixed using @tkadlec's suggestion. Hopefully that does the trick 👍 |
See: filamentgroup/grunticon#161
The text was updated successfully, but these errors were encountered: