new audit: check that page supports dark mode
See original GitHub issueFeature request summary
Test whether a site supports “dark mode”.
What is the motivation or use case for changing this?
The upcoming versions of Safari and Chrome support a “dark mode”, via prefers-color-scheme
CSS media feature. System-level dark mode is coming to Android in Q, and iOS is also expected to get dark mode in the next major release. PWAs will not feel integrated into the system unless they support dark mode.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Google Chrome Now Supports Dark Mode Preference
Google Chrome announced support for a CSS media query that allows your site to switch to Dark Mode if that's a user's default...
Read more >Dark Mode Can Improve Text Readability — But Not for ...
Dark modes can make site navigation difficult · People with dyslexia and astigmatism may have issues reading light text on dark backgrounds ·...
Read more >How to detect if the User's OS prefers dark mode and change ...
You can set your Chrome/Edge browser to use System Settings, Light, or Dark. Search for Theme in Settings. Choose your Theme, Dark or...
Read more >Illuminating dark mode - Figma
These considerations informed two main goals for the workstream: Enable Figmates to design and develop new features in dark mode out of the...
Read more >Profile preferences - GitLab Docs
If you find an issue that isn't listed, leave a comment on the epic or create a new issue. Dark mode is available...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for bringing it up, but I think it’s much too early for Lighthouse to evaluate this.
enable-android-web-contents-dark-mode
and if all pages will be affected.<meta name="supported-color-schemes">
isn’t shipped yet and seems very central to the developer story here.Let’s wait for Chrome to have these components in stable and very clear guidance published before we drop people’s Lighthouse scores due to this.
/cc @tomayac