[openstreetmap/openstreetmap-website] Dark Mode for maps (Issue #5328)
Marwin Hochfelsner
notifications at github.com
Sun Nov 17 18:49:41 UTC 2024
> which of the options you've tested you think would be best?
Well, for option 2 / dimming, some filter involving gamma tweaking because it eliminates the most common complaint about the dimmed map, loss of contrast, without clipping some input ranges to completely black or white. Also, IMO it looks like the most natural dimming of the light map. However, the gamma filter still has more parameters that can be tuned.
For option 3 / inverting, the native `hue-rotate(180deg)invert(95%)` seems to be the variant retaining the most contrast and the darkest one. While the one with transforms in a YIQ-like color space can be tuned further by adjusting the transformation into and out of that space, from what I've been able to discern by fiddling around, fine-tuning away the old-photo-like yellowish look would take more effort than it's worth.
> [This proposal](https://github.com/openstreetmap/openstreetmap-website/issues/5324#issuecomment-2480755496) would let you easily disable the filters by changing the map theme to light.
And we don't even have to choose a second option if we add more radio buttons and let the users do it:
### Map theme
🔘 Auto
🔘 Light
🔘 Dark
### Dark map theme
🔘 Dimmed
🔘 Inverted
☑ Show dark tiles if available
Yes, kind of kidding, but depending on where the preferences will be put there might be more than enough space anyway.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5328#issuecomment-2481425427
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5328/2481425427 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241117/42e1c64d/attachment.htm>
More information about the rails-dev
mailing list