2024-02-18 01:44:48 -05:00

19 lines
337 B
TypeScript

// ** MUI Imports
import { Theme } from '@mui/material/styles'
const Switch = (theme: Theme) => {
return {
MuiSwitch: {
styleOverrides: {
root: {
'& .MuiSwitch-track': {
backgroundColor: `rgb(${theme.palette.customColors.main})`
}
}
}
}
}
}
export default Switch