[openstreetmap/openstreetmap-website] Dark Mode for maps (Issue #5328)
Marwin Hochfelsner
notifications at github.com
Mon Nov 18 23:05:27 UTC 2024
> @hlfan Just out of curiosity, can we apply a CSS filter on top to fix that? 😆
> The filter for the gamma dimming in `url(#gamma)contrast(95%)` is written like this:
> Another I built on blending modes does this too, but with way more saturation (I already turned it down to 50% with `saturate(0.5)url(#invert-blend)`).
If you want to be extra modular, you can even split up the filter elements and link them separately by joining the url() filter functions for even more fine-tuning (keeping possible performance implications in mind).
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5328#issuecomment-2484325537
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5328/2484325537 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241118/0f1b47f3/attachment-0001.htm>
More information about the rails-dev
mailing list