[openstreetmap/openstreetmap-website] Use dark map tiles classlessly (PR #5507)

Marwin Hochfelsner notifications at github.com
Fri Jan 17 16:26:25 UTC 2025


@hlfan commented on this pull request.



> @@ -9,7 +9,7 @@
 
 body {
   font-size: $typeheight;
-  --dark-mode-map-filter: brightness(.8);
+  --dark-mode-map-filter: none;

Having the custom property defined with a default value of `none` increases compatibility, since it doesn't even alter transitions into and out of undefined anymore.
It also increases the probability of no filter being applied for users using custom styles that may conflict with the TransportDarkMap.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5507#discussion_r1920442032
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5507/review/2559440163 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250117/7f48b02e/attachment.htm>


More information about the rails-dev mailing list