Skip to content

Commit

Permalink
fix(tabs): theme changes
Browse files Browse the repository at this point in the history
Signed-off-by: Sudhanshu Dasgupta <[email protected]>
  • Loading branch information
sudhanshutech committed Jan 15, 2025
1 parent ee11020 commit 9cc0f2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/theme/components/tab.modifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const MuiTab: Components<Theme>['MuiTab'] = {
const {
palette: {
text: { default: defaultText },
background: { default: defaultBackground }
background: { neutral: defaultBackground }
}
} = theme;
return {
Expand Down
2 changes: 1 addition & 1 deletion src/theme/components/tabs.modifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Components, Theme } from '@mui/material';
export const MuiTabs: Components<Theme>['MuiTabs'] = {
styleOverrides: {
root: ({ theme }) => ({
backgroundColor: theme.palette.background.default
backgroundColor: theme.palette.background.neutral?.default
}),
indicator: ({ theme }) => ({
backgroundColor: theme.palette.background.brand?.default
Expand Down

0 comments on commit 9cc0f2f

Please sign in to comment.