-
Notifications
You must be signed in to change notification settings - Fork 16
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
How to customize Material-UI theme? #42
Comments
I figured out that one of my issues is the component I am wrapping with the withAuthenticator HOC is my component but my ThemeProvider was in the parent component. I now have the wrapping all JSX inside my component and I'm seeing the colors defined in my custom theme. However, the amplify-material-ui AppBar that shows up when authenticated is still the default Material-UI blue instead of using my new primary theme color. Any ideas? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm trying to customize the theme for my create-react-app and I've imported the ThemeProvider exported here and passed my custom theme but I'm still getting the default Material-UI theme colors. Am I using this correctly? I'm also seeing an error in the console:
theme.js
index.js
The text was updated successfully, but these errors were encountered: