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

Option for dark mode to respect system setting #155

Open
willbarkoff opened this issue Sep 9, 2020 · 1 comment
Open

Option for dark mode to respect system setting #155

willbarkoff opened this issue Sep 9, 2020 · 1 comment
Labels
enhancement Feature requests and other enhancements

Comments

@willbarkoff
Copy link
Member

There should be an option for the dark mode setting to respect the system/browser setting. This can be accomplished with JS:

window.matchMedia('(prefers-color-scheme: dark)').matches

matchMedia is available in ~98% of browsers, and prefers-color-scheme is available in ~84% of browsers

@willbarkoff willbarkoff self-assigned this Sep 9, 2020
@willbarkoff willbarkoff added the enhancement Feature requests and other enhancements label Sep 9, 2020
@myhomeworkspace-planbot
Copy link

Hi! I've removed @willbarkoff from this issue due to a lack of activity. If this is a mistake, feel free to reassign yourself. If you would like to work on this issue, feel free to assign yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and other enhancements
Projects
None yet
Development

No branches or pull requests

1 participant