Closed
Description
Dark mode almost works: the use of currentColor for stroke and fill is solving 90% of the problem.
In some cases, though, it's not ideal:
- in cars-parcoords we use white to detach the text against the background. Using "fill: currentColor; filter: invert(1)" would work.
- in metroUnemploymentRidgeline the areas are filled with #ccc, which could be replaced by "fill: currentColor; filter: invert(20%);"
- and more.
Adding support for the filter attribute would help a lot.
See also #1461