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

@romainmenke Oh! I see that `color-scheme` applies on the same element just like CSS variables. Thanks for the correction. I'll use CSS custom properties to work around this issue.

The point of using it for other value types stands anyway.

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


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

Received on Friday, 11 October 2024 00:08:50 UTC