@@ -20,7 +20,20 @@ const MuiTableBody: Components<Theme>['MuiTableBody'] = {
2020const MuiTableCell : Components < Theme > [ 'MuiTableCell' ] = {
2121 styleOverrides : {
2222 root : ( { theme } ) => {
23- return { borderBottom : `1px solid ${ theme . palette . icon . disabled } ` } ;
23+ return {
24+ borderBottom : `1px solid ${ theme . palette . icon . disabled } ` ,
25+ backgroundColor : 'transparent !important'
26+ } ;
27+ } ,
28+ head : {
29+ '& div' : {
30+ fontSize : '1rem' ,
31+ fontWeight : 'bold'
32+ } ,
33+ '& .MuiButton-root' : {
34+ fontWeight : 'bold' ,
35+ textTransform : 'uppercase !important'
36+ }
2437 }
2538 }
2639} ;
@@ -29,7 +42,10 @@ const MuiTableFooter: Components<Theme>['MuiTableFooter'] = {
2942 styleOverrides : {
3043 root : ( { theme } ) => {
3144 return {
32- backgroundColor : theme . palette . background . card
45+ backgroundColor :
46+ theme . palette . mode == 'dark'
47+ ? theme . palette . background . card
48+ : theme . palette . background . surfaces
3349 } ;
3450 }
3551 }
@@ -39,7 +55,10 @@ const MuiTableHead: Components<Theme>['MuiTableHead'] = {
3955 styleOverrides : {
4056 root : ( { theme } ) => {
4157 return {
42- backgroundColor : theme . palette . background . card ,
58+ backgroundColor :
59+ theme . palette . mode == 'dark'
60+ ? theme . palette . background . card
61+ : theme . palette . background . surfaces ,
4362 fontWeight : 'bold' ,
4463 textTransform : 'uppercase'
4564 } ;
@@ -62,7 +81,8 @@ const MuiTableSortLabel: Components<Theme>['MuiTableSortLabel'] = {
6281 root : ( { theme } ) => {
6382 return {
6483 '& .MuiTableSortLabel-icon' : {
65- color : `${ theme . palette . icon . default } !important`
84+ color : `${ theme . palette . icon . default } !important` ,
85+ height : 'auto !important'
6686 }
6787 } ;
6888 }
@@ -81,7 +101,10 @@ const MuiToolbar: Components<Theme>['MuiToolbar'] = {
81101 styleOverrides : {
82102 root : ( { theme } ) => {
83103 return {
84- backgroundColor : theme . palette . background . card ,
104+ backgroundColor :
105+ theme . palette . mode == 'dark'
106+ ? theme . palette . background . card
107+ : theme . palette . background . surfaces ,
85108 color : theme . palette . text . default
86109 } ;
87110 }
0 commit comments