-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Idea/feature request: cache SVGs with gradients #117
Comments
there are/where issues with gradients ; try by de-commenting .. and change |
Thx, i'll try. |
@bavarianbytes is browser support sufficient nowadays? |
Browser support looks good: https://caniuse.com/?search=lineargradient |
Chrome & Safari are still buggy ; https://xerc.de/test.htm |
Ok, caniuse didn't told that. Then maybe wait till support is sufficient. |
Seems like SVGs are not stored as symbols if there is a
<linearGradient>
in the SVG file.SvgStoreService.php
skips the file ifurl
is found (<linearGradient>
s are used to fill shapes viafill="url(#myGradientId)"
).A solution seems to be to place
<linearGradient>
s in a<defs>
part outside of the<symbol>
: https://stackoverflow.com/questions/52439187/linear-gradient-in-svg-symbol/52443861#52443861The text was updated successfully, but these errors were encountered: