chore: Follow up design

This commit is contained in:
Krille 2025-01-26 17:01:42 +01:00
commit 8717f1c430
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 5 additions and 6 deletions

View file

@ -256,6 +256,8 @@ class ChatView extends StatelessWidget {
onPressed: controller.scrollDown, onPressed: controller.scrollDown,
heroTag: null, heroTag: null,
mini: true, mini: true,
backgroundColor: theme.colorScheme.surface,
foregroundColor: theme.colorScheme.onSurface,
child: const Icon(Icons.arrow_downward_outlined), child: const Icon(Icons.arrow_downward_outlined),
), ),
) )

View file

@ -184,13 +184,10 @@ class Message extends StatelessWidget {
child: Material( child: Material(
borderRadius: borderRadius:
BorderRadius.circular(AppConfig.borderRadius / 2), BorderRadius.circular(AppConfig.borderRadius / 2),
color: selected color: selected || highlightMarker
? theme.colorScheme.secondaryContainer ? theme.colorScheme.secondaryContainer
.withAlpha(100) .withAlpha(128)
: highlightMarker : Colors.transparent,
? theme.colorScheme.tertiaryContainer
.withAlpha(100)
: Colors.transparent,
), ),
), ),
), ),