Merge pull request #1998 from bluewave-labs/fix/fe/accounts-tabs-style

Change Accounts tab styling
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-03-26 10:57:13 -07:00
commit 698c8b48dd
1 file changed
+10 -1
+10 -1
View File
@@ -359,7 +359,9 @@ 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.tertiary.main, backgroundColor: theme.palette.primary.main,
height: '34px',
borderRadius: 0,
textTransform: "none", textTransform: "none",
minWidth: "fit-content", minWidth: "fit-content",
padding: `${theme.spacing(6)}px ${theme.spacing(4)}px`, padding: `${theme.spacing(6)}px ${theme.spacing(4)}px`,
@@ -378,6 +380,7 @@ const baseTheme = (palette) => ({
color: theme.palette.secondary.contrastText, color: theme.palette.secondary.contrastText,
borderColor: theme.palette.secondary.contrastText, borderColor: theme.palette.secondary.contrastText,
borderRightColor: theme.palette.primary.lowContrast, borderRightColor: theme.palette.primary.lowContrast,
borderRadius: 0,
}, },
"&:hover": { "&:hover": {
borderColor: theme.palette.primary.lowContrast, borderColor: theme.palette.primary.lowContrast,
@@ -428,6 +431,12 @@ const baseTheme = (palette) => ({
MuiTabs: { MuiTabs: {
styleOverrides: { styleOverrides: {
root: ({ theme }) => ({ 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`,
"& .MuiTabs-indicator": { "& .MuiTabs-indicator": {
backgroundColor: theme.palette.tertiary.contrastText, backgroundColor: theme.palette.tertiary.contrastText,
}, },