Separate Client Portal & Dashboard
This commit is contained in:
31
frontend/dashboard/src/theme/overrides/Slider.ts
Normal file
31
frontend/dashboard/src/theme/overrides/Slider.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
import { Theme } from '@mui/material/styles';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export default function Slider(theme: Theme) {
|
||||
const isLight = theme.palette.mode === 'light';
|
||||
|
||||
return {
|
||||
MuiSlider: {
|
||||
defaultProps: {
|
||||
size: 'small'
|
||||
},
|
||||
|
||||
styleOverrides: {
|
||||
root: {
|
||||
'&.Mui-disabled': {
|
||||
color: theme.palette.action.disabled
|
||||
}
|
||||
},
|
||||
markLabel: {
|
||||
fontSize: 13,
|
||||
color: theme.palette.text.disabled
|
||||
},
|
||||
valueLabel: {
|
||||
borderRadius: 8,
|
||||
backgroundColor: theme.palette.grey[isLight ? 800 : 700]
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user