Files
aso/frontend/client-portal/src/theme/overrides/Progress.ts
Server D3 Linksehat 1bf608b1ed Server 103 Commit
2024-07-18 16:05:33 +07:00

28 lines
623 B
TypeScript
Executable File

import { Theme } from '@mui/material/styles';
// ----------------------------------------------------------------------
export default function Progress(theme: Theme) {
const isLight = theme.palette.mode === 'light';
return {
MuiLinearProgress: {
styleOverrides: {
root: {
borderRadius: 4,
overflow: 'hidden'
},
bar: {
borderRadius: 4
},
colorPrimary: {
backgroundColor: theme.palette.primary[isLight ? 'lighter' : 'darker']
},
buffer: {
backgroundColor: 'transparent'
}
}
}
};
}