Avatar defaults and colors

This commit is contained in:
Josh Perez 2021-08-05 20:17:05 -04:00 committed by GitHub
parent a001882d58
commit 12d2b1bf7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
140 changed files with 4212 additions and 1084 deletions

View file

@ -8,6 +8,7 @@ import { Avatar, AvatarBlur } from '../Avatar';
import { Spinner } from '../Spinner';
import { LocalizerType } from '../../types/Util';
import { AvatarColors } from '../../types/Colors';
import { ContactType, getName } from '../../types/Contact';
// This file starts with _ to keep it from showing up in the StyleGuide.
@ -48,7 +49,7 @@ export function renderAvatar({
acceptedMessageRequest={false}
avatarPath={avatarPath}
blur={AvatarBlur.NoBlur}
color="steel"
color={AvatarColors[0]}
conversationType="direct"
i18n={i18n}
isMe