@@ -17,7 +17,8 @@ const StyledTabs = styled(Tabs)(({ theme }) => ({
1717 borderColor : ( theme . vars || theme ) . palette . grey [ 100 ] ,
1818 backgroundColor : ( theme . vars || theme ) . palette . grey [ 50 ] ,
1919 '&:has(.Mui-focusVisible)' : {
20- outline : `2px solid ${ ( theme . vars || theme ) . palette . primary . main } ` ,
20+ outline : `3px solid ${ alpha ( theme . palette . primary [ 500 ] , 0.5 ) } ` ,
21+ outlineOffset : '2px' ,
2122 } ,
2223 '& .MuiTabs-scroller, & .MuiTab-root' : {
2324 // Override inline-style to see the box-shadow
@@ -32,14 +33,14 @@ const StyledTabs = styled(Tabs)(({ theme }) => ({
3233 fontWeight : theme . typography . fontWeightSemiBold ,
3334 minWidth : 0 ,
3435 minHeight : 0 ,
35- color : ( theme . vars || theme ) . palette . grey [ 600 ] ,
36+ color : ( theme . vars || theme ) . palette . text . tertiary ,
3637 borderRadius : 20 ,
3738 zIndex : 2 ,
3839 '&:hover' : {
39- color : ( theme . vars || theme ) . palette . grey [ 800 ] ,
40+ color : ( theme . vars || theme ) . palette . text . primary ,
4041 } ,
4142 '&.Mui-selected' : {
42- color : ( theme . vars || theme ) . palette . primary [ 500 ] ,
43+ color : ( theme . vars || theme ) . palette . primary [ 600 ] ,
4344 fontWeight : theme . typography . fontWeightSemiBold ,
4445 } ,
4546 '&.Mui-focusVisible' : {
@@ -58,19 +59,14 @@ const StyledTabs = styled(Tabs)(({ theme }) => ({
5859 ...theme . applyDarkStyles ( {
5960 borderColor : ( theme . vars || theme ) . palette . primaryDark [ 700 ] ,
6061 backgroundColor : ( theme . vars || theme ) . palette . primaryDark [ 900 ] ,
61- color : ( theme . vars || theme ) . palette . grey [ 400 ] ,
6262 '& .MuiTabs-indicator' : {
6363 height : '100%' ,
6464 borderRadius : 20 ,
6565 backgroundColor : alpha ( theme . palette . primaryDark [ 600 ] , 0.5 ) ,
66- borderColor : ( theme . vars || theme ) . palette . primaryDark [ 500 ] ,
66+ borderColor : ( theme . vars || theme ) . palette . primaryDark [ 600 ] ,
6767 boxShadow : `0px 1px 4px ${ ( theme . vars || theme ) . palette . common . black } ` ,
6868 } ,
6969 '& .MuiTab-root' : {
70- color : ( theme . vars || theme ) . palette . grey [ 400 ] ,
71- '&:hover' : {
72- color : ( theme . vars || theme ) . palette . grey [ 300 ] ,
73- } ,
7470 '&.Mui-selected' : {
7571 color : ( theme . vars || theme ) . palette . primary [ 200 ] ,
7672 } ,
0 commit comments