Re: [csswg-drafts] [css-values-5] Using `if()` to do dark/light switching of image urls. (#10577)

Yeah, `light-dark()` for colors, specifically, is such a common use-case that I think it justifies its existence as sugar. I'm happy to leave the "light-dark() but for any value type" function as just being handled by `if()`, tho.

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


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

Received on Friday, 16 May 2025 15:46:03 UTC