This PR - Adds layer type switching based on a **new theme parameter** and prefers-color-scheme - Rewrites argument extraction and application of layer and bbox - Lints this file apparently for the first time
Doesn't touch the CSS though. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5519 -- Commit Summary -- * Allow map layers to specify an alternate tile set for dark mode -- File Changes -- M app/assets/javascripts/embed.js.erb (61) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5519.patch https://github.com/openstreetmap/openstreetmap-website/pull/5519.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5519 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