[bug]: ThemeProvider component does not listen to live color scheme preference changes #4940
Open
2 tasks done
Labels
bug
Something isn't working
Describe the bug
The ThemeProvider component in the docs does not listen to changes to the user's preference. If the user changes their color scheme preference in their browser/system, they have to refresh the app to get the updated theme.
Affected component/components
Docs/Dark mode/ThemeProvider
How to reproduce
Dark mode > 1. Create a theme provider
.Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: