X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/83043d6f1cd85729a3f91e5c73d78a39b8ae7d04..5bb23f6f5f8fed81f1166a15344e44afa7fbb480:/app/assets/stylesheets/common.scss 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; } }