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

@Crissov Extending the capabilities of `image()` seems more of an independent proposal from `light-dark()` being able to return an `<image>`.
Yeah, the light/dark functionality _could_ be integrated into `image()` _instead_ of `light-dark()`, though browsers are already about to ship the extended functionality. And `cross-fade()` and `image-set()` are already implemented for some time.
So I don't think we should hold up shipping this new `light-dark()` feature now, but it does seem reasonable to me to think about incorporating this functionality into `image()`.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13724#issuecomment-4145437626 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:35:09 UTC