hospital portal
This commit is contained in:
29
frontend/hospital-portal/src/theme/overrides/Avatar.ts
Executable file
29
frontend/hospital-portal/src/theme/overrides/Avatar.ts
Executable file
@@ -0,0 +1,29 @@
|
||||
import { Theme } from '@mui/material/styles';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export default function Avatar(theme: Theme) {
|
||||
return {
|
||||
MuiAvatar: {
|
||||
styleOverrides: {
|
||||
colorDefault: {
|
||||
color: theme.palette.text.secondary,
|
||||
backgroundColor: theme.palette.grey[400]
|
||||
}
|
||||
}
|
||||
},
|
||||
MuiAvatarGroup: {
|
||||
styleOverrides: {
|
||||
avatar: {
|
||||
fontSize: 16,
|
||||
fontWeight: theme.typography.fontWeightMedium,
|
||||
'&:first-of-type': {
|
||||
fontSize: 14,
|
||||
color: theme.palette.primary.main,
|
||||
backgroundColor: theme.palette.primary.lighter
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user