Rapid
Rapid copied to clipboard
Dark mode
People seem really interested in Dark Mode lately 😆 🧛♂️
- https://github.com/openstreetmap/iD/issues/10542
- https://github.com/openstreetmap/openstreetmap-website/issues?q=is%3Aissue+is%3Aopen+dark+mode
We should detect the user's prefers-dark-interface setting that we get from the browser and allow them to set a light/dark/automatic preference.
Just flagging that Chrome/Webkit has an open issue where it's not honoring window.matchMedia('(prefers-color-scheme: dark)') in some cases, but there are workarounds. I did notice this when testing locally with Chrome.
https://stackoverflow.com/questions/78013261/why-window-matchmediaprefers-color-scheme-dark-matches-false-when-c