Re: [csswg-drafts] [css-conditional][selectors] A way to set styles according to the used color scheme (#12681)

I think it was resolved to allow `if` to get the used color scheme `if(color-scheme(dark): url(foo-dark.svg), else: url(foo-light-svg))`, but the proposal in this issue is still useful for setting a whole block of multiple properties rather than just one property value at a time. 
Related issue: https://github.com/w3c/csswg-drafts/issues/10577

-- 
GitHub Notification of comment by o-t-w
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12681#issuecomment-3237223426 using your GitHub account


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

Received on Friday, 29 August 2025 14:26:14 UTC