From fe58758523fdbaa1c58dc9ea12817ca2be903628 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Wed, 5 Feb 2025 11:15:55 +0530 Subject: [PATCH] We don't seem to require this, the browser + MUI defaults are working in both modes Tested Chrome, Safari --- web/packages/base/components/utils/theme.ts | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.ts index 7eda829c3e..a69da9694e 100644 --- a/web/packages/base/components/utils/theme.ts +++ b/web/packages/base/components/utils/theme.ts @@ -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