feat: design corrected #1275 : Current Password Field BG color

This commit is contained in:
Saksham committed 2024-12-05 07:20:38 +05:30
1 parent 4c051ff0ac
commit e19b9858a1
1 file changed
+5
+5
View File
@@ -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",
},