refactor: change all selects instead of relying on sx

This commit is contained in:
Caio Cabral
2025-01-15 19:16:33 -05:00
parent 6864756552
commit 8404cee349
2 changed files with 10 additions and 6 deletions

View File

@@ -280,12 +280,6 @@ const TeamPanel = () => {
{ _id: "admin", name: "Admin" },
{ _id: "user", name: "User" },
]}
sx={{
color: theme.palette.primary.contrastTextTertiary,
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
borderColor: theme.palette.primary.contrastTextTertiary,
},
}}
/>
<Stack
direction="row"

View File

@@ -290,6 +290,16 @@ const baseTheme = (palette) => ({
}),
},
},
MuiOutlinedInput: {
styleOverrides: {
root: {
color: palette.primary.contrastTextTertiary,
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
borderColor: palette.primary.contrastTextTertiary,
},
},
},
},
},
shape: {
borderRadius: 2,