[csswg-drafts] [css-color-4] Consider removing lab(...) and lch(...) syntax and using color(lab ...) and color(lch ...) only (#5887)

weinig has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-4] Consider removing lab(...) and lch(...) syntax and using color(lab ...) and color(lch ...) only ==
I'd like to propose unifying on the `color()` function syntax for new color types to simplify and unify things.

Right now, you can specify Lab colors directly via `lab(...)`  and `color(lab ...)` and indirectly via `lch(...)`. Since we have a construction for colors with fallbacks in the `color(...)` function already, I think unifying new color descriptions like Lab and LCH to use it would be a nice simplification while we still can. I think this would ease both user understanding (we can say all these new color types use the same syntax) and somewhat ease implementation burden (though I don't really think that should play into it, and it is tiny).

Anyway, food for thought. 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5887 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 22 January 2021 19:55:14 UTC