-
Notifications
You must be signed in to change notification settings - Fork 73
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
Image colours can bleed through #68
Comments
Hi, I'm glad that the addon is useful for you. Actually the strange colouring problem has nothing to do with I can see at least 2 possible ways to solve that:
As soon as I upgrade SVGO it would be possible to turn it on like this: svgJar: {
optimizer: {
plugins: [
{
inlineStyles: { onlyMatchedOnce: false, removeMatchedSelectors: true }
}
]
}
} Also I found that some of your SVGs request PNG images ( svgJar: {
optimizer: {
plugins: [
{ removeRasterImages: true }
]
}
} |
oh wow, well thanks for looking into this, I had no idea about this possibility! |
The issue I discussed here is affecting the footer logo: evoactivity/ember-svg-jar#68 While #1645 will be a better solution, I’m not ready to merge it.
Hello, thanks for creating this, I’ve found it quite useful while working with our extensive SVG collection in
travis-web
!I’ve found myself unable to use the component for some SVGs, they end up rendering with strange colouring. I noticed today that it’s evident in the image browser as well:
This is a busy time for me so I can’t dig into this further. Eventually I’ll have some free time to try to understand how this could be happening, but if you’re curious, you can reproduce with the repository, which is open source.
The text was updated successfully, but these errors were encountered: