change: Minor design colors

This commit is contained in:
Christian Pauly 2021-01-31 23:54:33 +01:00
commit 662f8b9a03
5 changed files with 13 additions and 13 deletions

View file

@ -180,7 +180,7 @@ class ChatListItem extends StatelessWidget {
style: TextStyle(
fontSize: 13,
color: room.notificationCount > 0
? Theme.of(context).primaryColor
? Theme.of(context).accentColor
: null,
),
),
@ -200,7 +200,7 @@ class ChatListItem extends StatelessWidget {
if (typingText.isNotEmpty) ...{
Icon(
Icons.edit_outlined,
color: Theme.of(context).primaryColor,
color: Theme.of(context).accentColor,
size: 14,
),
SizedBox(width: 4),
@ -210,7 +210,7 @@ class ChatListItem extends StatelessWidget {
? Text(
typingText,
style: TextStyle(
color: Theme.of(context).primaryColor,
color: Theme.of(context).accentColor,
),
softWrap: false,
)
@ -218,7 +218,7 @@ class ChatListItem extends StatelessWidget {
? Text(
L10n.of(context).youAreInvitedToThisChat,
style: TextStyle(
color: Theme.of(context).primaryColor,
color: Theme.of(context).accentColor,
),
softWrap: false,
)
@ -248,7 +248,7 @@ class ChatListItem extends StatelessWidget {
child: Icon(
Icons.push_pin_outlined,
size: 20,
color: Theme.of(context).primaryColor,
color: Theme.of(context).accentColor,
),
),
if (room.isUnread)

View file

@ -19,7 +19,7 @@ class StateMessage extends StatelessWidget {
child: Container(
padding: const EdgeInsets.all(8),
decoration: BoxDecoration(
color: Theme.of(context).secondaryHeaderColor.withOpacity(0.9),
color: Theme.of(context).secondaryHeaderColor,
borderRadius: BorderRadius.circular(7),
),
child: Text(