Closed jimmyff closed 1 month ago
Thanks for writing this up. This is more of an RFE. Full support of all of CSS has always been an explicit non-goal of jovial_svg
. Notably, the initial intent didn't go beyond setting the rendering attributes of nodes that are rendered. That said, extending it out to the stop
definition of a gradient isn't unreasonable, and probably falls on the side of what it makes sense to add.
That would be really great. After fill
and stroke
, I would think stop-color
is next most important css color related definition that would assist with scripting and svg manipulation. It would certainly be a big help for my project.
Just tested this and it seems to work great! 👏
Thanks @zathras
Published in 1.1.23
Created an issue to track the painting issue found during #112 discussion. It seems that jovial isn't picking up the css
stop-color
values as expected:Expected rendering:
Jovial rendering:
svg source
```xml ```