From: Tom Hughes Date: Wed, 11 Dec 2024 17:09:07 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/pull/5387' X-Git-Tag: live X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/325deabc916acab952089a4b093fa6bafa66083c?hp=83043d6f1cd85729a3f91e5c73d78a39b8ae7d04 Merge remote-tracking branch 'upstream/pull/5387' --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index cabdfff49..323f60e08 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -9,6 +9,7 @@ body { font-size: $typeheight; + --dark-mode-map-filter: brightness(.8); } time[title] { @@ -515,9 +516,13 @@ body.small-nav { } @mixin dark-map-color-scheme { - .leaflet-tile-container .leaflet-tile, + .leaflet-tile-container, .mapkey-table-entry td:first-child > * { - filter: brightness(.8); + filter: var(--dark-mode-map-filter); + } + + .leaflet-tile-container .leaflet-tile { + filter: none; } }