mirror of
https://github.com/ente-io/ente.git
synced 2025-08-12 17:20:37 +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:
@@ -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: {
|
MuiTextField: {
|
||||||
defaultProps: {
|
defaultProps: {
|
||||||
// The MUI default variant is "outlined", override it to use the
|
// The MUI default variant is "outlined", override it to use the
|
||||||
|
Reference in New Issue
Block a user