I want to customize the properties of a basic TextField with filled attribute.
<TextField label="Reddit" variant="filled" />
Then, I want to edit the:
- backgroundColor
- labelColor
- borderBottomColor
- activeBackgroundColor
- activeLabelColor
- activeBorderBottomColor
For that, I'm using theme.overrides :
theme.overrides = {
...
MuiFilledInput: {
root: {
backgroundColor: filledColor,
color: baseFontColorDark,
'& label': {
color: '#9BA8AE',
},
}
It works for the backgroundColor but not for the label. I tried many other solution in this sandbox https://codesandbox.io/s/chubbybutton-tmp6y but It didn't work...