Skip to content

Fix map marker colors and visibility in dark mode#14

Merged
phulin merged 1 commit into
phulin:mainfrom
jhurwitz:dark-mode-map-markers
May 15, 2026
Merged

Fix map marker colors and visibility in dark mode#14
phulin merged 1 commit into
phulin:mainfrom
jhurwitz:dark-mode-map-markers

Conversation

@jhurwitz
Copy link
Copy Markdown
Contributor

Summary

  • Scope the brightness(2.5) filter to .leaflet-tile-pane only, so it no longer washes out SVG marker colors (was causing amber #f59e0b to render as #ffff17)
  • Raise fillOpacity and opacity floors for old/faint points in dark mode so they're more visible against the dark background

🤖 Generated with Claude Code

- Apply brightness filter to tile pane only, so SVG marker colors are unaffected
- Raise fillOpacity and opacity floors for old points in dark mode

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@phulin phulin merged commit 3789411 into phulin:main May 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants