-
Notifications
You must be signed in to change notification settings - Fork 91
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
Overriding styles not working / theme not being applied #39
Comments
Also, your example is terrible because it filters the Shoutem Theme stuff through about 100 layers of misdirection, making it a pretty useless demonstration of the theming capacity so much as someone showing off their react skills. The point of an example, especially if there's only one, is to demonstrate the bare minimum working code for a concept, not to show off cool stuff you can do later once you understand what's happening. Heading to the examples folder only to be further overwhelmed is exasperating to say the least. |
I realized I had the wrong prop (changed theme to style in StyleProvider) but I still am having no luck with styleNames:
|
Hi there, I'm having trouble getting themes to work:
I have this component:
That tries to use the Test component:
As is, the element gets rendered with a red background.
When I try to change the theme's color, nothing happens:
What am I doing wrong? I've followed everything the docs said.
The text was updated successfully, but these errors were encountered: