X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/83043d6f1cd85729a3f91e5c73d78a39b8ae7d04..6094a97ce6297d390e5bbf733f5c2b4cc6b2076c:/app/assets/stylesheets/common.scss?ds=sidebyside 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; } }