@@ -4,7 +4,6 @@ import Fade from '@mui/material/Fade'
44import { outlinedInputClasses } from '@mui/material/OutlinedInput'
55import { inputBaseClasses } from '@mui/material/InputBase'
66import { inputAdornmentClasses } from '@mui/material/InputAdornment'
7- import { tabClasses } from '@mui/material/Tab'
87
98declare module '@mui/material/styles' {
109 interface Palette {
@@ -149,13 +148,6 @@ export const defaultTheme = createTheme({
149148 } ,
150149 } ,
151150 components : {
152- MuiBackdrop : {
153- styleOverrides : {
154- root : {
155- backgroundColor : 'rgba(0, 0, 0, 0.9)' ,
156- } ,
157- } ,
158- } ,
159151 MuiButton : {
160152 defaultProps : {
161153 disableElevation : true ,
@@ -537,92 +529,6 @@ export const defaultTheme = createTheme({
537529 } ,
538530 ] ,
539531 } ,
540- MuiPagination : {
541- variants : [
542- {
543- props : { showFirstButton : true , showLastButton : true } ,
544- style : {
545- // Swap First and Previous page buttons
546- 'li:nth-of-type(2)' : {
547- order : - 1 ,
548- } ,
549- // Swap Last and Next page buttons
550- 'li:nth-last-of-type(2)' : {
551- order : 1 ,
552- } ,
553- } ,
554- } ,
555- ] ,
556- } ,
557- MuiPaginationItem : {
558- variants : [
559- {
560- props : { selected : false } ,
561- style : {
562- color : COLORS . brandExtraDark ,
563- } ,
564- } ,
565- {
566- props : { selected : true } ,
567- style : {
568- backgroundColor : 'unset !important' ,
569- color : COLORS . disabledPagination ,
570- } ,
571- } ,
572- {
573- props : { type : 'page' } ,
574- style : {
575- minWidth : 0 ,
576- } ,
577- } ,
578- ] ,
579- } ,
580- MuiTabs : {
581- styleOverrides : {
582- root : ( { theme } ) => ( {
583- // neglect the default border radius of sibling element (Card component in most cases)
584- '&& + *' : {
585- borderTopLeftRadius : 0 ,
586- [ theme . breakpoints . down ( 'sm' ) ] : {
587- borderTopRightRadius : 0 ,
588- } ,
589- } ,
590- } ) ,
591- indicator : {
592- display : 'none' ,
593- } ,
594- } ,
595- } ,
596- MuiTab : {
597- styleOverrides : {
598- root : ( { theme } ) => ( {
599- '&:hover, &:focus-visible' : {
600- color : COLORS . brandExtraDark ,
601- backgroundColor : COLORS . grayLight ,
602- } ,
603- [ `&.${ tabClasses . selected } ` ] : {
604- color : COLORS . brandExtraDark ,
605- backgroundColor : COLORS . white ,
606- } ,
607- fontSize : '14px' ,
608- fontWeight : 700 ,
609- color : COLORS . brandDark ,
610- backgroundColor : COLORS . grayLight ,
611- border : `1px solid ${ COLORS . grayLight } ` ,
612- borderBottom : 'none' ,
613- marginRight : theme . spacing ( 2 ) ,
614- borderTopLeftRadius : 12 ,
615- borderTopRightRadius : 12 ,
616- textTransform : 'capitalize' ,
617- [ theme . breakpoints . down ( 'sm' ) ] : {
618- padding : theme . spacing ( 3 , 4 ) ,
619- } ,
620- [ theme . breakpoints . up ( 'sm' ) ] : {
621- padding : theme . spacing ( 4 , 5 ) ,
622- } ,
623- } ) ,
624- } ,
625- } ,
626532 MuiMobileStepper : {
627533 styleOverrides : {
628534 root : {
@@ -642,12 +548,5 @@ export const defaultTheme = createTheme({
642548 } ) ,
643549 } ,
644550 } ,
645- MuiList : {
646- styleOverrides : {
647- padding : {
648- paddingTop : 0 ,
649- } ,
650- } ,
651- } ,
652551 } ,
653552} )
0 commit comments