Skip to content

Commit

Permalink
feat(mui-themes): override MuiTab styles from Material UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Andrade authored and jimmyandrade committed Aug 19, 2021
1 parent 6b46d3f commit da5ac68
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/mui-themes/src/overrides/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,24 @@ export const overrides : ThemeOptions["overrides"] = {
thumb: customProperties.switchStyles.thumb,
track: customProperties.switchStyles.track,
},
MuiTab: {
root: {
...customProperties.tabStyles.root,
"&:active": customProperties.tabStyles.pressed,
"&$selected": customProperties.tabStyles.selected,
"&$disabled": customProperties.tabStyles.disabled,
},
textColorInherit: {
...customProperties.tabStyles.root,
"&$selected": customProperties.tabStyles.selected,
"&$disabled": customProperties.tabStyles.disabled,
},
textColorPrimary: {
...customProperties.tabStyles.root,
"&$selected": customProperties.tabStyles.selected,
"&$disabled": customProperties.tabStyles.disabled,
},
},
MuiTableCell: {
root: {
...customProperties.tableCellStyles.root,
Expand Down

0 comments on commit da5ac68

Please sign in to comment.