avatar text color

This commit is contained in:
Alex Holliday committed 2026-02-11 18:36:20 +00:00
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}`}
src={src ? src : user?.avatarImage ? image : undefined}
sx={{
color: theme.palette.primary.contrastText,
fontSize: small ? "16px" : "22px",
fontWeight: 400,
backgroundColor: theme.palette.primary.main,