From 05c806b358cb4a3004dfeb29bf381482a2b54ce6 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 12 Mar 2021 23:09:40 +0100 Subject: [PATCH] Fix colors --- lib/ui/screens/conversation_screen.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/ui/screens/conversation_screen.dart b/lib/ui/screens/conversation_screen.dart index c90fbc3..ed0fca6 100644 --- a/lib/ui/screens/conversation_screen.dart +++ b/lib/ui/screens/conversation_screen.dart @@ -86,11 +86,12 @@ class _ConversationScreenState extends SafeState { Color get _greyColor => Color(0xff8f8f8f); Color get _gradientColorStart => - _conversation.color ?? (darkTheme() ? Color(0xff00b6f3) : Colors.green); + _conversation.color ?? + (darkTheme() ? Color(0xff00b6f3) : Colors.blue.shade300); Color get _gradientColorEnd => _conversation.color?.withOpacity(0.7) ?? - (darkTheme() ? Color(0xff0184dc) : Colors.greenAccent); + (darkTheme() ? Color(0xff0184dc) : Colors.blueAccent.shade700); Color get _separatorColor => darkTheme() ? Color(0xff272c35) : Color(0xffBEBEBE); @@ -496,8 +497,8 @@ class _ConversationScreenState extends SafeState { ); Widget _buildEmojiContainer() => EmojiPicker( - bgColor: _conversation.color ?? Colors.blue, - indicatorColor: _conversation.color ?? Colors.blue, + bgColor: _conversation.color ?? Colors.blue.shade900, + indicatorColor: _conversation.color ?? Colors.blue.shade900, rows: 3, columns: 7, onEmojiSelected: (emoji, category) {