Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Read user preference for dark mode #6

Open
spbyrne opened this issue Nov 5, 2019 · 0 comments
Open

Read user preference for dark mode #6

spbyrne opened this issue Nov 5, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@spbyrne
Copy link
Contributor

spbyrne commented Nov 5, 2019

Right now the theme reads localStorage to see if there's an existing isDarkMode preference, but it doesn't check the user's prefers-color-scheme setting (system setting). This is likely an easy upgrade to the existing logic.

@spbyrne spbyrne added enhancement New feature or request good first issue Good for newcomers labels Nov 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant