Oussama Sethoum

Results 27 comments of 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.

@johnfercher I tried it but it doesn't solve the issue, it's still the same ![image](https://github.com/johnfercher/maroto/assets/88779394/8b13e7f2-87c2-4630-a2db-e75efbc5c182)

> 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.