mirror of
https://github.com/D4M13N-D3V/comissions-app-ui.git
synced 2025-03-14 08:15:08 +00:00
31 lines
681 B
TypeScript
31 lines
681 B
TypeScript
// ** MUI Imports
|
|
import { Theme } from '@mui/material/styles'
|
|
|
|
const Avatar = (theme: Theme) => {
|
|
return {
|
|
MuiAvatar: {
|
|
styleOverrides: {
|
|
colorDefault: {
|
|
color: theme.palette.text.secondary,
|
|
backgroundColor: theme.palette.mode === 'light' ? theme.palette.grey[200] : theme.palette.grey[700]
|
|
},
|
|
rounded: {
|
|
borderRadius: 5
|
|
}
|
|
}
|
|
},
|
|
MuiAvatarGroup: {
|
|
styleOverrides: {
|
|
root: {
|
|
justifyContent: 'flex-end',
|
|
'.MuiCard-root & .MuiAvatar-root': {
|
|
borderColor: theme.palette.background.paper
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
export default Avatar
|