From 553c213a47918bab1228bcc89fc182cb8195690a Mon Sep 17 00:00:00 2001 From: cogwheel0 <172976095+cogwheel0@users.noreply.github.com> Date: Sun, 19 Oct 2025 15:08:15 +0530 Subject: [PATCH] refactor: Update placeholder color in chat input for improved visibility - Changed the placeholder color in the modern chat input to use the input text color with adjusted alpha for better contrast and visibility in both light and dark themes. - This enhancement aims to improve user experience by ensuring the placeholder text is more legible across different brightness settings. --- lib/features/chat/widgets/modern_chat_input.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/features/chat/widgets/modern_chat_input.dart b/lib/features/chat/widgets/modern_chat_input.dart index 996bd65..eb1a250 100644 --- a/lib/features/chat/widgets/modern_chat_input.dart +++ b/lib/features/chat/widgets/modern_chat_input.dart @@ -649,7 +649,9 @@ class _ModernChatInputState extends ConsumerState final Color composerBackground = brightness == Brightness.dark ? composerSurface.withValues(alpha: 0.78) : context.conduitTheme.surfaceContainerHighest; - final Color placeholderBase = context.conduitTheme.inputPlaceholder; + final Color placeholderBase = context.conduitTheme.inputText.withValues( + alpha: 0.64, + ); final Color placeholderFocused = context.conduitTheme.inputText.withValues( alpha: 0.64, );