Re: [csswg-drafts] [css-images-4] Add `light-dark-image()`, or generalize `light-dark()` for images too? (#12513)

> Am I wrong to remember at some point a `light-dark-value()` or similar being planned?

It was discussed, but that predated us having `if()`. Currently the plan is to just let `if()` cover the more general use-case.



> Just to confirm: this would allow `image-set`?

Yes, it'll accept two `<color>` values in any syntax, or two `<image>` values in any syntax.

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


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

Received on Wednesday, 11 March 2026 17:56:19 UTC