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

> There is no precedent for this in CSS

It's quite similar to how several of the math functions behave. It would make it a bit more complicated on the implementation side, but IMO it's nicer to have a small number of more versatile functions. I'm not much of a web dev these days but I'd expect that to be nicer for authors too.

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


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

Received on Wednesday, 23 July 2025 15:41:16 UTC