Skip to content

Dark mode #408

Closed
Closed
@Fil

Description

@Fil

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

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to docs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions