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

Just repeating https://github.com/w3c/csswg-drafts/issues/10249#issuecomment-2306329038 here that there's a use case to provide matching image and video sources. 

To be able to match the used color-scheme on the page we would probably need a media feature for `used-color-scheme`. Pseudo-classes and container-queries can not solve this use-case.  

-- 
GitHub Notification of comment by johannesodland
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12681#issuecomment-3236905751 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 12:38:16 UTC