Skip to content

[FEATURE]: Switch to culori color library for color processing #7961

Description

@camdecoster

Description

Switch to the culori library for better color processing.

Why should this feature be added?

The recently switched to color library seems to have too many bugs/gaps. culori provides better compliance with the CSS Color Module Level 4 spec.

Notes

  • Part of the change in Update color processing library to handle modern CSS color syntax #7523 was to centralize color processing into one file. That makes it easier to make this switch, though there will still need to be changes per the different API.
  • Some of the breaking changes from the switch to color are mitigated with this switch
  • I chose color previously because it more closely matched the tinycolor2 API, but that shouldn't have been as much of a deciding factor
  • This switch could still take place before releasing v4 so that we don't have to make another breaking change

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions