Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Add setting to switch between dark/light/system #72

Open
escapedcat opened this issue Feb 2, 2025 · 2 comments
Open

Feat: Add setting to switch between dark/light/system #72

escapedcat opened this issue Feb 2, 2025 · 2 comments

Comments

@escapedcat
Copy link

I'm using dark mode as a default but at least for me all maps are hard to read in dark mode. So I tend to switch "map-ish apps" to light mode.
Would like to have the option for btcmap as well.

@dadofsambonzuki
Copy link
Member

Agree. Default should be system (as it is currently) with ability to override.

@bubelov
Copy link
Collaborator

bubelov commented Feb 3, 2025

It requires too many hacks so this approach won't work well.

What we can do instead is to add a map style selector. We already have more than 5 themes:

https://openfreemap.org/

  • Positron
  • Bright
  • Liberty
  • 3D
  • Our custom dark theme

This selector is applicable to the map widget alone, so the rest of the app UI would stay system-default. It can cause minor contrast issues with the status bar, but otherwise it should work fine I think.

We can also allow users to set their own tile server/theme URL so they can use other styles or even self-hosted maps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants