Crate cssparser_color

source ·
Expand description

Fairly complete css-color implementation. Relative colors, color-mix, system colors, and other such things require better calc() support and integration.

Structs

Enums

Traits

  • A trait that can be used to hook into how cssparser parses color components, with the intention of implementing more complicated behavior.
  • This trait is used by the ColorParser to construct colors of any type.

Functions