From: Anton Khorev Date: Wed, 17 Apr 2024 01:56:20 +0000 (+0300) Subject: Dim map tiles in dark mode X-Git-Tag: live~131^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ebb993728376fc246682ab353b5cec0a9dd3b1c5 Dim map tiles in dark mode --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 549226f58..abd696603 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -474,6 +474,13 @@ body.small-nav { border-radius: 4px !important; } +@include color-mode(dark) { + .leaflet-tile-container, + .mapkey-table-entry td:first-child > * { + filter: brightness(.8); + } +} + /* Rules for attribution text under the main map shown on printouts */ .donate-attr { color: darken($green, 10%) !important; }