-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
How to implement 2 theme provider ? #215
Comments
Another use case is a render side by side of different themes in storybook. https://storybook.js.org/blog/how-to-add-a-theme-switcher-to-storybook/ I suspected the shared theme setting might be due to the use of localstorage with a shared default key, but it's not the issue. |
As of now, the attribute / class that controls the theming is set on the document element. |
Just wondering is there any update on this implementation? |
@ariburaco Unfortunately, no. |
I have a landing & dashboard where the landing has a separate ThemeProvider with dark mode and the dashboard has a separate ThemeProvider with a light mode, Whenever I go from the landing page to the dashboard theme mode does not change.
Dashboard -
Landing -
The text was updated successfully, but these errors were encountered: