- From: Sara Joy via GitHub <sysbot+gh@w3.org>
- Date: Tue, 29 Oct 2024 21:11:59 +0000
- To: public-css-archive@w3.org
> `if(color-scheme(dark): url(foo-dark.svg), else: url(foo-light-svg))` Ooooh. May I double check whether this would be querying the current state of what the browser is showing, and not just what we've given to `color-scheme:`? What I mean is: A computer operating system is in dark mode, the user opens a web page with `color-scheme: light dark;` declared in its CSS (or the equivalent in a meta tag) and displays the dark version of the page. Would `if(color-scheme(dark) ... )` come back true ? -- GitHub Notification of comment by sarajw Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10577#issuecomment-2445339549 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 29 October 2024 21:12:00 UTC