File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ import { MuiOutlinedInput } from './components/outlinedinput.modifier';
1717import { MuiPagination } from './components/pagination.modifier' ;
1818import { MuiSvgIcon } from './components/svgicon.modifier' ;
1919import { MuiSwitch } from './components/switch.modifier' ;
20- import { MuiTab } from './components/tab.modifier.ts' ;
20+ import { MuiTab } from './components/tab.modifier' ;
21+ import { MuiTabs } from './components/tabs.modifier' ;
2122
2223export const components : Components < Theme > = {
2324 MuiAppBar,
@@ -35,6 +36,7 @@ export const components: Components<Theme> = {
3536 MuiPagination,
3637 MuiSvgIcon,
3738 MuiTab,
39+ MuiTabs,
3840 MuiSwitch,
3941 MuiButtonGroup,
4042 MuiButton,
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ export const MuiTab: Components<Theme>['MuiTab'] = {
1414 color : defaultText ,
1515 backgroundColor : defaultBackground
1616 } ,
17- backgroundColor : defaultText ,
18- color : defaultBackground
17+ backgroundColor : 'none' ,
18+ color : defaultText
1919 } ;
2020 }
2121 }
Original file line number Diff line number Diff line change 1+ import { Components , Theme } from '@mui/material' ;
2+
3+ export const MuiTabs : Components < Theme > [ 'MuiTabs' ] = {
4+ styleOverrides : {
5+ root : ( { theme } ) => ( {
6+ backgroundColor : theme . palette . background . default
7+ } ) ,
8+ indicator : ( { theme } ) => ( {
9+ backgroundColor : theme . palette . background . brand ?. default
10+ } )
11+ }
12+ } ;
You can’t perform that action at this time.
0 commit comments