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

Light/dark map tile variants #42798

Open
Terrance opened this issue May 16, 2024 · 0 comments
Open

Light/dark map tile variants #42798

Terrance opened this issue May 16, 2024 · 0 comments

Comments

@Terrance
Copy link

Is your feature request related to a problem? Please describe.

Metabase does not offer a dark/night theme (see #9203), though browser extensions like Dark Reader work well enough to customise the styles for a dark mode. Where this falls short is with map tiles, which remain unchanged and are rather blinding alongside the rest of the site in a dark theme.

Describe the solution you'd like

If and when a site-wide dark mode is available, the option to configure light and dark tiles independently, and for them to be used with the corresponding theme. Ideally, a default dark tile set would be available as with the current light tiles, though I don't know if OSM provides their own for this or if a third-party tile provider would be needed.

Describe alternatives you've considered

I could just equip a dark tile set all the time, though I find them less legible during the day, and a dark map against an otherwise white website also looks a bit jarring.

Switching between light and dark map tiles manually is also a bit painful as there's nowhere to "store" the dark tile URL when not in use (i.e. I'd need to dig it out from somewhere else and paste into the settings field each time).

How important is this feature to you?

A fair few of my regular visualisations are map-based, and I refer to them at various hours of the day, so I do frequently notice this.

Additional context

Here's how it looks currently (default map tiles with Dark Reader's "dynamic" theme):

image

And using e.g. Dark Matter tiles (https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png):

image

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

2 participants