[openstreetmap/openstreetmap-website] Dark Mode (#2332)
dieterdreist
notifications at github.com
Wed Dec 2 11:43:53 UTC 2020
sent from a phone
> On 1. Dec 2020, at 15:46, pkrasicki <notifications at github.com> wrote:
>
> There is only one problem left. Since I applied the filter only to map tiles, the map controls still have the default white color. I haven't figured out how to apply a custom class for the controls in Leaflet yet.
>
you could add a custom class to the page body or the map and have different css accordingly (body.dark .zoom-button) etc.
--
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/issues/2332#issuecomment-737178752
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201202/0c571173/attachment.htm>
More information about the rails-dev
mailing list