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

For the more generic case, `if()` handles things. `font-weight: if(color-scheme(light): normal; else: bold);`. The full generic version of the function is different from the "just color" or even "just color or image" that is currently specified.

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


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

Received on Monday, 21 July 2025 17:44:15 UTC