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/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev