Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a PR that implements a site-wide light mode and dark mode. Here's a summary of the PR: * implements a `themify()` SASS mixin and a `$themes` object to generate themed SASS classes (based on parent class specificity) (@emmyc) * adds themed variants to the editor/output (@emmyc) and to the profile panel + sketches pages (@malsf21) * creates a `<Switch>` custom component that adds visual decoration to a simple textbox (@emmyc, @fan-matt) * adds the `<Switch>` component to the profile page to toggle the user's preference (@emmyc) * slightly modify's the Profile Panel's name input (@malsf21) * creates Redux handlers for the user's theme state (@fan-matt) * saves user's state to document-wide cookies (@malsf21) * writes Jest/Enzyme tests for the `<Switch>` component (@malsf21) Big thanks to @emmyc for taking the lead on this PR, and @fan-matt for helping me correct my small mistakes!
- Loading branch information