oksvg icon indicating copy to clipboard operation
oksvg copied to clipboard

Parse error when color is "currentColor"

Open andydotxyz opened this issue 5 years ago • 1 comments

Various icons in the material collection specify the fill as "current", which crashes out.

For example: https://github.com/fyne-io/defyne/blob/main/Icon.svg

andydotxyz avatar Apr 11 '21 21:04 andydotxyz

faced the same issue. Made a dumb wrapper function ReadReplacingCurrentColor, see it there https://github.com/amarin/oksvg/commit/6f76008f1ae4ffe801ea5672286e09a178366ed1

amarin avatar Nov 19 '21 16:11 amarin