Steps to replicate the issue (include links if applicable):
- Chose a page with a Kartographer map, for instance https://de.wikivoyage.org/wiki/Edersee
- Alternately select light and dark mode
What happens?:
- The bug occurs since yesterday and currently on Wikivoyage wikis
- In light mode maps are Ok
- In dark mode the maps are not opaque, and the pushpin markers have a white/gray background color
What should have happened instead?:
- Maps in light and dark mode should look the same.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- It seems to be a stylesheet problem (opaque, brightness).
<img src="https://maps.wikimedia.org/v4/marker/pin-m-1+228B22@2x.png" class="leaflet-marker-icon leaflet-zoom-animated">
html.skin-theme-clientpref-night section > figure[typeof^="mw:File"]:not(.skin-invert-image) img {
background-color: var(--background-color-base-fixed,#fff);
color: var(--color-base-fixed,#202122);
filter: brightness(0.8);
}