avatar text color
This commit is contained in:
1 parent
e214d9a54c
commit
446c791f88
1 file changed
+1
@@ -31,6 +31,7 @@ export const Avatar = ({ src, small, sx, onClick = () => {} }: AvatarProps) => {
|
|||||||
alt={`${user?.firstName} ${user?.lastName}`}
|
alt={`${user?.firstName} ${user?.lastName}`}
|
||||||
src={src ? src : user?.avatarImage ? image : undefined}
|
src={src ? src : user?.avatarImage ? image : undefined}
|
||||||
sx={{
|
sx={{
|
||||||
|
color: theme.palette.primary.contrastText,
|
||||||
fontSize: small ? "16px" : "22px",
|
fontSize: small ? "16px" : "22px",
|
||||||
fontWeight: 400,
|
fontWeight: 400,
|
||||||
backgroundColor: theme.palette.primary.main,
|
backgroundColor: theme.palette.primary.main,
|
||||||
|
|||||||
Reference in new issue
Block a user