If you want to apply different color in AppBar Title material-ui? From what I see in the material-ui sources, appBar title color is set by palette.alternateTextColor. If you add it to your style definition like that:
1 2 3 4 5 6 7 8 9 10 11 12 13 | const muiTheme = getMuiTheme({ palette: { textColor: Colors.darkBlack, primary1Color: Colors.white, primary2Color: Colors.indigo700, accent1Color: Colors.redA200, pickerHeaderColor: Colors.darkBlack, alternateTextColor: Colors.redA200 }, appBar: { height: 60, }, }); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.