From e19b9858a1d1e8a77513b6992e9e239906f9a9f5 Mon Sep 17 00:00:00 2001 From: Saksham Date: Thu, 5 Dec 2024 07:20:38 +0530 Subject: [PATCH] feat: design corrected #1275 : Current Password Field BG color --- Client/src/Utils/Theme/globalTheme.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Client/src/Utils/Theme/globalTheme.js b/Client/src/Utils/Theme/globalTheme.js index 95f6bf578..d0ae1610a 100644 --- a/Client/src/Utils/Theme/globalTheme.js +++ b/Client/src/Utils/Theme/globalTheme.js @@ -237,6 +237,11 @@ const baseTheme = (palette) => ({ WebkitTextFillColor: "unset", }, }, + "& .MuiInputBase-input:-webkit-autofill": { + transition: "background-color 5000s ease-in-out 0s", // Long transition to override autofill background + WebkitBoxShadow: `0 0 0px 1000px ${theme.palette.background.main} inset`, // Match your theme's background color + WebkitTextFillColor: theme.palette.text.primary, // Match text color + }, "& .MuiInputBase-input.MuiOutlinedInput-input": { padding: "0 var(--env-var-spacing-1-minus) !important", },