Skip to content

Commit

Permalink
Dim map tiles in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Apr 17, 2024
1 parent 5df9ab6 commit ebb9937
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/assets/stylesheets/common.scss
Expand Up @@ -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; }
Expand Down

0 comments on commit ebb9937

Please sign in to comment.