Hi folks! I just released a utility for converting raw SVG to Elm code: https://level.app/svg-to-elm
12 Likes
Very good.
Recently I have been looking into going the other way - exporting SVG from Elm as raw SVG that can be consumed by other applications such as Inkscape. What I learned is that SVG in a browser can be styled with CSS elements that are not part of the SVG spec, so you just have to be careful about that and it works well.
I guess a tool could be written that does Svg a -> Bool
and by walking over the SVG tells you if it is compliant or not, or better Svg a -> Maybe (Svg a)
that tries to clean it up for you.
1 Like
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.