[csswg-drafts] prefers-color-scheme Does Not Update When Switching Chrome Color Theme (#13270)

Akshay04722 has just created a new issue for https://github.com/w3c/csswg-drafts:

== prefers-color-scheme Does Not Update When Switching Chrome Color Theme ==
Steps to reproduce the problem
Steps to reproduce the problem Set the device’s default theme to Dark mode. Open Chrome and navigate to a webpage using the prefers-color-scheme media query. Example: A webpage where the background changes based on prefers-color-scheme. Switch the Chrome theme from Dark to Light mode using Chrome's settings or appearance options. Observe the behavior of the prefers-color-scheme media query.

Problem Description
When changing the Chrome color theme from Dark to Light mode (or vice versa), the prefers-color-scheme media query continues to reflect the previous theme of the device, rather than updating to match the Chrome application’s color theme.

Additional Notes: The issue persists even after refreshing the page. It is unclear if this is intended behavior or a bug related to Chrome's integration with system-level preferences. This behavior may lead to discrepancies between Chrome's appearance and the rendered theme of websites.

Summary
prefers-color-scheme Does Not Update When Switching Chrome Color Theme


Screenshots
https://issues.chromium.org/382393134#attachment61321786
https://issues.chromium.org/382393134#attachment61321787
https://issues.chromium.org/382393134#attachment61321788

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13270 using your GitHub account


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

Received on Friday, 26 December 2025 08:39:52 UTC