mirror of
https://github.com/D4M13N-D3V/comissions-app-ui.git
synced 2025-03-14 00:05:07 +00:00
19 lines
337 B
TypeScript
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
|