Skip to content

4.0.1

Choose a tag to compare

@ozdemirburak ozdemirburak released this 02 Dec 15:27
· 5 commits to master since this release

Fixed OKLCH parsing, accepting both comma and space separated formats.

  • Support CSS Color Level 4 space-separated syntax: oklch(40.1% 0.123 21.57)
  • Continue supporting comma-separated syntax: oklch(70%, 0.15, 150)
  • Alpha values in input are parsed but ignored (e.g., oklch(50% 0.1 180 / .5))