update global theme

This commit is contained in:
Vishnu Sreekumaran Nair committed 2025-04-10 18:29:31 -04:00
1 parent 71b71b4ee9
commit 6b5460c75c
1 file changed
+1 -13
+1 -13
View File
@@ -368,7 +368,6 @@ const baseTheme = (palette) => ({
root: ({ theme }) => ({ root: ({ theme }) => ({
fontSize: theme.typography.fontSize - 1, fontSize: theme.typography.fontSize - 1,
color: theme.palette.tertiary.contrastText, color: theme.palette.tertiary.contrastText,
backgroundColor: theme.palette.primary.main,
height: '34px', height: '34px',
minHeight: '34px', minHeight: '34px',
borderRadius: 0, borderRadius: 0,
@@ -376,10 +375,6 @@ const baseTheme = (palette) => ({
minWidth: "fit-content", minWidth: "fit-content",
padding: `${theme.spacing(6)}px ${theme.spacing(4)}px`, padding: `${theme.spacing(6)}px ${theme.spacing(4)}px`,
fontWeight: 400, fontWeight: 400,
borderBottom: `${theme.shape.borderThick}px solid transparent`,
borderRight: `${theme.shape.borderRadius / 2}px solid ${theme.palette.primary.lowContrast}`,
"&:first-of-type": { borderTopLeftRadius: theme.shape.borderRadius * 4 },
"&:last-child": { borderTopRightRadius: theme.shape.borderRadius * 4, borderRight: 0 },
"&:focus-visible": { "&:focus-visible": {
color: theme.palette.primary.contrastText, color: theme.palette.primary.contrastText,
borderColor: theme.palette.tertiary.contrastText, borderColor: theme.palette.tertiary.contrastText,
@@ -387,9 +382,6 @@ const baseTheme = (palette) => ({
}, },
"&.Mui-selected": { "&.Mui-selected": {
color: theme.palette.secondary.contrastText, color: theme.palette.secondary.contrastText,
borderColor: theme.palette.secondary.contrastText,
borderRightColor: theme.palette.primary.lowContrast,
borderRadius: 0,
}, },
"&:hover": { "&:hover": {
borderColor: theme.palette.primary.lowContrast, borderColor: theme.palette.primary.lowContrast,
@@ -441,11 +433,7 @@ const baseTheme = (palette) => ({
styleOverrides: { styleOverrides: {
root: ({ theme }) => ({ root: ({ theme }) => ({
display: 'inline-flex', display: 'inline-flex',
borderTop: '1px solid', borderRadius: 0,
borderLeft: '1px solid',
borderRight: '1px solid',
borderColor: theme.palette.primary.lowContrast,
borderRadius: `${theme.shape.borderRadius}px ${theme.shape.borderRadius}px 0 0`,
"& .MuiTabs-indicator": { "& .MuiTabs-indicator": {
backgroundColor: theme.palette.tertiary.contrastText, backgroundColor: theme.palette.tertiary.contrastText,
}, },