我阅读了文档,我能够改变其他人的颜色但却无法改变按钮中标签的颜色。到目前为止,这是我的代码:
const muiTheme = getMuiTheme({
datePicker: {
calendarYearBackgroundColor: lightBlue800,
calendarTextColor: "white",
selectColor: lightBlue800,
color: lightBlue800
}})
答案 0 :(得分:0)
尝试使用timePicker
const muiTheme = getMuiTheme({
timePicker: {
calendarYearBackgroundColor: lightBlue800,
calendarTextColor: "white",
selectColor: lightBlue800,
color: lightBlue800
}})
我仍然无法更改我的按钮文字颜色。我假设它是因为我独立设置了flatButton
颜色。所以要小心。