W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

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

From: weinig via GitHub <sysbot+gh@w3.org>
Date: Fri, 22 Jan 2021 19:55:12 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-792265964-1611345311-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:38 UTC