update global theme
This commit is contained in:
1 parent
71b71b4ee9
commit
6b5460c75c
1 file changed
+1
-13
@@ -368,7 +368,6 @@ const baseTheme = (palette) => ({
|
||||
root: ({ theme }) => ({
|
||||
fontSize: theme.typography.fontSize - 1,
|
||||
color: theme.palette.tertiary.contrastText,
|
||||
backgroundColor: theme.palette.primary.main,
|
||||
height: '34px',
|
||||
minHeight: '34px',
|
||||
borderRadius: 0,
|
||||
@@ -376,10 +375,6 @@ const baseTheme = (palette) => ({
|
||||
minWidth: "fit-content",
|
||||
padding: `${theme.spacing(6)}px ${theme.spacing(4)}px`,
|
||||
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": {
|
||||
color: theme.palette.primary.contrastText,
|
||||
borderColor: theme.palette.tertiary.contrastText,
|
||||
@@ -387,9 +382,6 @@ const baseTheme = (palette) => ({
|
||||
},
|
||||
"&.Mui-selected": {
|
||||
color: theme.palette.secondary.contrastText,
|
||||
borderColor: theme.palette.secondary.contrastText,
|
||||
borderRightColor: theme.palette.primary.lowContrast,
|
||||
borderRadius: 0,
|
||||
},
|
||||
"&:hover": {
|
||||
borderColor: theme.palette.primary.lowContrast,
|
||||
@@ -441,11 +433,7 @@ const baseTheme = (palette) => ({
|
||||
styleOverrides: {
|
||||
root: ({ theme }) => ({
|
||||
display: 'inline-flex',
|
||||
borderTop: '1px solid',
|
||||
borderLeft: '1px solid',
|
||||
borderRight: '1px solid',
|
||||
borderColor: theme.palette.primary.lowContrast,
|
||||
borderRadius: `${theme.shape.borderRadius}px ${theme.shape.borderRadius}px 0 0`,
|
||||
borderRadius: 0,
|
||||
"& .MuiTabs-indicator": {
|
||||
backgroundColor: theme.palette.tertiary.contrastText,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user