Rapid icon indicating copy to clipboard operation
Rapid copied to clipboard

Dark mode

Open bhousel opened this issue 1 year ago • 1 comments

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.

bhousel avatar Nov 21 '24 18:11 bhousel

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

bhousel avatar Nov 27 '24 22:11 bhousel