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

Move darkMode to Redux #119

Open
josephmturner opened this issue Oct 22, 2020 · 0 comments
Open

Move darkMode to Redux #119

josephmturner opened this issue Oct 22, 2020 · 0 comments
Assignees

Comments

@josephmturner
Copy link
Collaborator

This will require adding a darkMode reducer, which takes one single action (toggleDarkMode). This action will not yet be called in any components, but it will be called in a settings modal when we add that.
The darkMode boolean (appState.darkMode) should be pulled into any component via mapStateToProps. The list of components which require darkMode for styling can be found with a simple grep.

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

2 participants