mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
We don't seem to require this, the browser + MUI defaults are working in both modes
Tested Chrome, Safari
This commit is contained in:
parent
bf70129fb6
commit
fe58758523
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user