You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This boilerplate defines a default theme color palette as purple for primary and green for secondary. However, it doesn't define anything explicitly for the button text color. By default, all button text should be white, but when rendered, this code shows a purple button with black text. My question is, why is it changing the default text color for buttons and where in the code can I set it to white?
Also, when I disable the palette definitions section in getPageContext.js:
I get the primary button in indigo instead of the expected default of lightBlue. I tried looking through the entire codebase but couldn't spot this definition anywhere!
The text was updated successfully, but these errors were encountered:
Default theme seems only support from material-ui@v4 so I upgraded that package to 4.0.0-alpha.8. There are some change in source code as well. You can clone and check again!
This boilerplate defines a default theme color palette as purple for primary and green for secondary. However, it doesn't define anything explicitly for the button text color. By default, all button text should be white, but when rendered, this code shows a purple button with black text. My question is, why is it changing the default text color for buttons and where in the code can I set it to white?
Also, when I disable the palette definitions section in
getPageContext.js
:I get the primary button in indigo instead of the expected default of lightBlue. I tried looking through the entire codebase but couldn't spot this definition anywhere!
The text was updated successfully, but these errors were encountered: