Skip to content

Commit

Permalink
feat(ui): updating theme
Browse files Browse the repository at this point in the history
Signed-off-by: Ankita Sahu <[email protected]>
  • Loading branch information
SAHU-01 committed Dec 16, 2024
1 parent f29f608 commit b348333
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/theme/components/tab.modifier.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
import { Components, Theme } from '@mui/material';
import { GRAY } from '../colors';
import { GRAY, WHITE } from '../colors';

export const MuiTab: Components<Theme>['MuiTab'] = {
styleOverrides: {
root: ({ theme }) => ({
backgroundColor: 'none',
color: theme.palette.text.primary,
color: theme.palette.mode === 'dark' ? WHITE : GRAY,
'&.Mui-selected': {
backgroundColor: 'none',
color: theme.palette.mode === 'dark' ? GRAY : GRAY
},
'&:hover': {
backgroundColor: 'rgba(0, 0, 0, 0.04)'
}
})
}
Expand Down

0 comments on commit b348333

Please sign in to comment.