Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/pull/5387'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Dec 11, 2024
2 parents 83043d6 + b87983c commit 325deab
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/assets/stylesheets/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

body {
font-size: $typeheight;
--dark-mode-map-filter: brightness(.8);
}

time[title] {
Expand Down Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 325deab

Please sign in to comment.