Re: [csswg-drafts] [css-color-5] Support `light-dark(<color>, <image>)` by producing a dimensionless image for `<color>` (#13724)

Yeah, while there's certainly a language-design question about what sorts of info/queries we should wrap into one function and which we should separate, *as a general rule* functions should do one reasonable thing. `image()` probably *should* be simplified somewhat, in fact, with things like the directionality pulled out to a different function that could, for example, mirror a single image *or* provide two alternate images to choose from!

Otherwise you risk both the concepts and the syntax becoming a muddled soup.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13724#issuecomment-4145484155 using your GitHub account


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

Received on Friday, 27 March 2026 21:42:07 UTC