openstreetmap / openstreetmap-website

The Rails application that powers OpenStreetMap
https://www.openstreetmap.org/
GNU General Public License v2.0
2.21k stars 918 forks source link

Apply dimming filter to tiles directly #5330

Closed AntonKhorev closed 6 days ago

AntonKhorev commented 6 days ago

In dark mode tiles are actually darker than I intended them to be: image vs image

See https://github.com/openstreetmap/openstreetmap-website/pull/5325#issuecomment-2478943023 and https://github.com/openstreetmap/openstreetmap-website/pull/5325#issuecomment-2479026722 for explanations.

gravitystorm commented 6 days ago

Merged, thanks!

Nekzuris commented 6 days ago

The use of css filter: brightness(0.8); makes panning extremely laggy in Firefox.