[openstreetmap/openstreetmap-website] Dark mode menu (PR #5336)

Anton Khorev notifications at github.com
Sat Nov 16 01:21:32 UTC 2024


Dark mode filter menu from #4777 but without dark transport map tiles.

![image](https://github.com/user-attachments/assets/1563d4d8-abc9-4af3-98cb-8deeb13b0aee)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5336

-- Commit Summary --

  * Add dark mode filters map context menu
  * Show/hide dark mode menu depending on prefers-color-scheme
  * Mark selected dark mode filter
  * Store dark mode filter in a cookie
  * Enable css filters

-- File Changes --

    M app/assets/javascripts/index/contextmenu.js (60)
    M app/assets/stylesheets/common.scss (2)
    M config/locales/en.yml (5)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5336.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5336.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5336
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5336 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241115/f9c424b1/attachment.htm>


More information about the rails-dev mailing list