developmentseed / developmentseed/lonboard

Native support for light/dark mode based on `prefers-color-scheme`

Open
#925 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
964
Forks
54
Avg merge
5m
Merged PRs (30d)
1

Description

It could be nice if the default basemap and styling changed whether the user is in light mode/dark mode.

I was reading https://deck.gl/docs/api-reference/widgets/overview which mentions how it's possible for the deck.gl widgets to switch their light/dark mode

Image

It looks like `prefers-color-scheme` isn't able to read from the current vscode theme, but if vscode is set up to change light/dark themes based on the OS, then it'll still match.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.