Skip to content

Commit 446c791

Browse files
committed
avatar text color
1 parent e214d9a commit 446c791

File tree

1 file changed

+1
-0
lines changed
  • client/src/Components/v2/design-elements

1 file changed

+1
-0
lines changed

client/src/Components/v2/design-elements/Avatar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export const Avatar = ({ src, small, sx, onClick = () => {} }: AvatarProps) => {
3131
alt={`${user?.firstName} ${user?.lastName}`}
3232
src={src ? src : user?.avatarImage ? image : undefined}
3333
sx={{
34+
color: theme.palette.primary.contrastText,
3435
fontSize: small ? "16px" : "22px",
3536
fontWeight: 400,
3637
backgroundColor: theme.palette.primary.main,

0 commit comments

Comments
 (0)