From 8717f1c43042d5454a04314966465eb82c545938 Mon Sep 17 00:00:00 2001 From: Krille Date: Sun, 26 Jan 2025 17:01:42 +0100 Subject: [PATCH] chore: Follow up design --- lib/pages/chat/chat_view.dart | 2 ++ lib/pages/chat/events/message.dart | 9 +++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/pages/chat/chat_view.dart b/lib/pages/chat/chat_view.dart index 04c84fbf0..e716a2a32 100644 --- a/lib/pages/chat/chat_view.dart +++ b/lib/pages/chat/chat_view.dart @@ -256,6 +256,8 @@ class ChatView extends StatelessWidget { onPressed: controller.scrollDown, heroTag: null, mini: true, + backgroundColor: theme.colorScheme.surface, + foregroundColor: theme.colorScheme.onSurface, child: const Icon(Icons.arrow_downward_outlined), ), ) diff --git a/lib/pages/chat/events/message.dart b/lib/pages/chat/events/message.dart index eab969b57..542637b59 100644 --- a/lib/pages/chat/events/message.dart +++ b/lib/pages/chat/events/message.dart @@ -184,13 +184,10 @@ class Message extends StatelessWidget { child: Material( borderRadius: BorderRadius.circular(AppConfig.borderRadius / 2), - color: selected + color: selected || highlightMarker ? theme.colorScheme.secondaryContainer - .withAlpha(100) - : highlightMarker - ? theme.colorScheme.tertiaryContainer - .withAlpha(100) - : Colors.transparent, + .withAlpha(128) + : Colors.transparent, ), ), ),