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

@tabatkins Presumably the resolution is not `if()` specific and applies to container queries as well, right?

Looking at the [spec](https://drafts.csswg.org/css-values-5/#if-notation), it's unfortunate that these need to be updated separately, because experience shows they _will_ get out of sync. Can we define a shared token that they both reference? Then they can only add any additional stuff in their own definitions. (Let me know if I should open a new editorial issue on that)

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


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

Received on Tuesday, 22 July 2025 22:32:05 UTC