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
Manual selection of theme #547
Comments
I'm not entirely sure what you're asking. In the demo you should be able to select the cog icon on the right hand side of the toolbar, and there will be a dropdown for selecting the theme you'd like. It also does persist state using a combination of ngrx and localStorage.
You can see where app state is being set. Once you've read and understood those files, take a look at these:
That line is importing the local storage meta-reducer and rehydrating the state for you. There are a vew reasons why your data wouldn't persist:
If all else fails, delete and re-clone the repo. There's an excellent article on state re-hydration using local storage here |
Hello,
Could you add a little code sample to show how to manually select the theme (such as to save it between sessions) ?
Thank you very much,
P.
The text was updated successfully, but these errors were encountered: