BigBadaboom / androidsvg

SVG rendering library for Android
http://bigbadaboom.github.io/androidsvg/
Apache License 2.0
1.2k stars 231 forks source link

Handle all CSS system colors #269

Open dilyanpalauzov opened 1 year ago

dilyanpalauzov commented 1 year ago

A SVG file can contain the colors Canvas, CanvasText. These depend on the current light/dark preference.

This library shall utilize the CSS System Colors, apart from the currentColor.

mueller-ma commented 1 year ago

@dilyanpalauzov supplied a SVG with CanvasText in https://github.com/openhab/openhab-android/issues/3364#issue-1689398954.

At least Firefox uses the same color for CanvasText as for CurrentColor. Maybe it's enough to handle CanvasText as an alias of CurrentColor?