Feature summary (what you would like to be able to do and where):
On mobile (and certain browsers), i want the background color of the UI to theme itself to the dark/light mode
Example of forced dark skin, where the chrome areas of Safari are in
Compare to the Gadget's dark mode:
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
When i enable dark mode on my iphone, the address bar and topbar remain gray, instead of dark.
Benefits (why should this be implemented?):
This provides a more coherent visual style for the page.
- See also **
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color
This is already implemented in the gadget of english wikipedia
https://en.wikipedia.org/wiki/MediaWiki:Gadget-dark-mode-toggle.js#L-23
It even listens for a media change. If the OS switches from light to dark mode as you have the page open, it updates the value to match.
https://en.wikipedia.org/wiki/MediaWiki:Gadget-dark-mode-toggle.js#L-176