refactor: change all selects instead of relying on sx

This commit is contained in:
Caio Cabral committed 2025-01-15 19:16:33 -05:00
1 parent 6864756552
commit 8404cee349
2 files changed
+10 -6

No files matched your search

@@ -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"
+10
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,