Separate Client Portal & Dashboard
This commit is contained in:
27
frontend/client-portal/src/theme/overrides/Progress.ts
Normal file
27
frontend/client-portal/src/theme/overrides/Progress.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user