Closed BierDav closed 1 year ago
Without a proof of concept it is difficult to debug.
What do you mean with a proof of concept? You can simply debug it by wrapping the router in the ThemeProvider
use a custom primary color and you will notice that when you use eg. a Button in a route that it will be using the default style.
Does that answer your question kind of?
I am using the router in several projects and it's ok.
Without a demo in Stackblitz I can't help you (https://suid.io/tools/playground).
Thanks for letting me investigating this further. The problem was that I wrapped the ThemeProvider in a Component: https://github.com/BierDav/suid-bug or StackBlitz https://stackblitz.com/github/BierDav/suid-bug
I have the feeling that this might be an issue from solid-start it self, but idk.
Oh thank you!
I have wrapped my routes in my root.tsx in a
ThemeProvider
so that my whole application is Themed, but it seams that the theme only works till the routes, because the content of my pages don't have a clue of the Theme of my ThemeProvider. Am I doing something wrong`?