From ebb993728376fc246682ab353b5cec0a9dd3b1c5 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 17 Apr 2024 04:56:20 +0300 Subject: [PATCH] Dim map tiles in dark mode --- app/assets/stylesheets/common.scss | 7 +++++++ 1 file changed, 7 insertions(+) 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; } -- 2.45.2