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';
17
17
import { MuiPagination } from './components/pagination.modifier' ;
18
18
import { MuiSvgIcon } from './components/svgicon.modifier' ;
19
19
import { 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' ;
21
22
22
23
export const components : Components < Theme > = {
23
24
MuiAppBar,
@@ -35,6 +36,7 @@ export const components: Components<Theme> = {
35
36
MuiPagination,
36
37
MuiSvgIcon,
37
38
MuiTab,
39
+ MuiTabs,
38
40
MuiSwitch,
39
41
MuiButtonGroup,
40
42
MuiButton,
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ export const MuiTab: Components<Theme>['MuiTab'] = {
14
14
color : defaultText ,
15
15
backgroundColor : defaultBackground
16
16
} ,
17
- backgroundColor : defaultText ,
18
- color : defaultBackground
17
+ backgroundColor : 'none' ,
18
+ color : defaultText
19
19
} ;
20
20
}
21
21
}
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