Skip to content

Commit 9cc0f2f

Browse files
committed
fix(tabs): theme changes
Signed-off-by: Sudhanshu Dasgupta <dasguptashivam23@gmail.com>
1 parent ee11020 commit 9cc0f2f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/theme/components/tab.modifier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const MuiTab: Components<Theme>['MuiTab'] = {
66
const {
77
palette: {
88
text: { default: defaultText },
9-
background: { default: defaultBackground }
9+
background: { neutral: defaultBackground }
1010
}
1111
} = theme;
1212
return {

src/theme/components/tabs.modifier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Components, Theme } from '@mui/material';
33
export const MuiTabs: Components<Theme>['MuiTabs'] = {
44
styleOverrides: {
55
root: ({ theme }) => ({
6-
backgroundColor: theme.palette.background.default
6+
backgroundColor: theme.palette.background.neutral?.default
77
}),
88
indicator: ({ theme }) => ({
99
backgroundColor: theme.palette.background.brand?.default

0 commit comments

Comments
 (0)