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

Support browser CSS dark mode detection #439

Open
33mhz opened this issue Jul 26, 2019 · 0 comments
Open

Support browser CSS dark mode detection #439

33mhz opened this issue Jul 26, 2019 · 0 comments

Comments

@33mhz
Copy link
Contributor

33mhz commented Jul 26, 2019

Is your feature request related to a problem? Please describe.
Various browsers have started supporting the prefers-color-scheme CSS directive. Beta can take support this.

Describe the solution you'd like
Three settings:

  • Dark Mode off: Use light mode
  • Dark Mode on: Use dark mode
  • Dark Mode not set: use prefers-color-scheme to determine color.

Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

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

No branches or pull requests

1 participant