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

@ -5,6 +5,7 @@ import React, { CSSProperties, FunctionComponent } from 'react';
import { BaseConversationListItem } from './BaseConversationListItem';
import { LocalizerType } from '../../types/Util';
import { AvatarColors } from '../../types/Colors';
type PropsType = {
i18n: LocalizerType;
@ -19,7 +20,7 @@ export const CreateNewGroupButton: FunctionComponent<PropsType> = React.memo(
return (
<BaseConversationListItem
acceptedMessageRequest={false}
color="steel"
color={AvatarColors[0]}
conversationType="group"
headerName={title}
i18n={i18n}

View file

@ -9,6 +9,7 @@ import {
} from './BaseConversationListItem';
import { LocalizerType } from '../../types/Util';
import { AvatarColors } from '../../types/Colors';
const TEXT_CLASS_NAME = `${MESSAGE_TEXT_CLASS_NAME}__start-new-conversation`;
@ -33,7 +34,7 @@ export const StartNewConversation: FunctionComponent<Props> = React.memo(
return (
<BaseConversationListItem
acceptedMessageRequest={false}
color="steel"
color={AvatarColors[0]}
conversationType="direct"
headerName={phoneNumber}
i18n={i18n}