nikolaydubina / treemap

🍬 Pretty Treemaps
152 stars 2 forks source link

RGBA colors not supported by Inkscape #21

Closed mlange-42 closed 1 year ago

mlange-42 commented 1 year ago

It seems like Inkscape does not support rgba(...) colors. (see https://gitlab.com/inkscape/inbox/-/issues/1195).
This causes Inkscape to render all boxes and borders in black.

Would it be an option to use rgb(...), and handle the alpha component via opacity (should probably be a / 255.0)?

Happy to make a PR for this minor change, if this workaround is acceptable.