move tab styles to theme so they apply globally

This commit is contained in:
Alex Holliday committed 2025-02-06 09:14:19 -08:00
1 parent 547f97ffed
commit a30ed2b766
2 files changed
+9 -5

No files matched your search

+9
View File
@@ -358,6 +358,15 @@ const baseTheme = (palette) => ({
}),
},
},
MuiTabs: {
styleOverrides: {
root: ({ theme }) => ({
"& .MuiTabs-indicator": {
backgroundColor: theme.palette.tertiary.contrastText,
},
}),
},
},
},
shape: {
borderRadius: 2,