We don't seem to require this, the browser + MUI defaults are working in both modes

Tested Chrome, Safari
This commit is contained in:
Manav Rathi 2025-02-05 11:15:55 +05:30
parent bf70129fb6
commit fe58758523
No known key found for this signature in database

View File

@ -674,26 +674,6 @@ const components: Components = {
},
},
MuiFilledInput: {
styleOverrides: {
input: {
// Set the background color for text fields when they get
// autofilled by the user agent.
//
// TODO(LM): Right now we need to set it until the light mode is
// fully independent. Post that, see if we really need to
// override the user agent defaults. Also note that MUI does
// overwrite the UA defaults, so we might need to too.
//
// https://github.com/search?q=repo%3Amui%2Fmaterial-ui%20path%3A%2F%5Epackages%5C%2Fmui-material%5C%2Fsrc%5C%2F%2F%20WebkitBoxShadow&type=code
"&:autofill": {
boxShadow: "0 0 0 100px #266798 inset",
WebkitTextFillColor: "var(--mui-palette-fixed-white)",
},
},
},
},
MuiTextField: {
defaultProps: {
// The MUI default variant is "outlined", override it to use the