[openstreetmap/openstreetmap-website] Map color mode preference (PR #5362)

Anton Khorev notifications at github.com
Tue Dec 3 10:38:24 UTC 2024


@AntonKhorev commented on this pull request.



> @@ -516,6 +511,23 @@ body.small-nav {
   }
 }
 
+ at mixin dark-map-color-scheme {
+  .leaflet-tile-container .leaflet-tile,
+  .mapkey-table-entry td:first-child > * {
+    filter: brightness(.8);

Step 5 has an impossible requirement of "make it dark but don't pick any filter". The closest possible thing is "don't touch existing filters".

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

Message ID: <openstreetmap/openstreetmap-website/pull/5362/review/2475258237 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241203/4fc19135/attachment.htm>


More information about the rails-dev mailing list