Oussama Sethoum
Oussama Sethoum
@fabien-ml I think it would be good to include it in `HopeProvider` or in the theme like `mantine` does and let the developer handle how they want to switch or...
@fabien-ml Thanks for the quick fix, what if `ColorModeScript` will a child of `HopeProvider` and it inherits the `initialColorMode` from the context? would that be better?
@fabien-ml Yeah that's true, another way to do it is as a boolean property to `HopeProvider` called `withColorModeScript` since it's important to be rendered before the content of the app.
any updates on this?
@johnfercher I tried it but it doesn't solve the issue, it's still the same 
Merging this PR will be helpfull.
> I could record a video to show you the process to add this PR to your project. Please vote if you want this. Please do the video.