[openstreetmap/openstreetmap-website] Use class based map tiles dark mode (PR #5505)

Marwin Hochfelsner notifications at github.com
Thu Jan 16 02:01:36 UTC 2025


A cleaner, class-based variant of #5426, enabling moving more logic out of `layeradd` into `initialize`.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add class based dark map mode logic
  * Add thunderforest layer dark mode style preference
  * Adapt dark mode map filtering

-- File Changes --

    M app/assets/javascripts/leaflet.map.js (25)
    M app/assets/stylesheets/common.scss (9)
    M config/layers.yml (2)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list