[openstreetmap/openstreetmap-website] Introduce Dark Mode (WIP) (#3028)

pkrasicki notifications at github.com
Thu Jan 7 11:57:26 UTC 2021


Maybe detecting system theme is not the right way then? Instead you could have a button to toggle between default and dark mode. It would require a little bit of JavaScript, but you need it anyway to change map colors in Leaflet.

Since Bootstrap doesn't have a dark theme, is it possible to not use custom CSS?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3028#issuecomment-756072660
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210107/bf8f833e/attachment.htm>


More information about the rails-dev mailing list