Keep Cupertino chat summaries and contextual prompts readable

This commit is contained in:
2026-11-07 21:07:55 +00:00
parent b9332dda0a
commit bbcfcd32a2
4 changed files with 201 additions and 4 deletions
@@ -1129,8 +1129,10 @@ class _ChatComposerBarState extends State<ChatComposerBar> {
placeholder: widget.placeholder,
// The pill draws the field's surface; the field adds no border.
decoration: null,
placeholderStyle: const TextStyle(
color: CupertinoColors.placeholderText,
// The contextual prompt must stay readable on the glass fill;
// placeholderText falls below normal-text contrast here.
placeholderStyle: TextStyle(
color: CupertinoColors.label.resolveFrom(context),
overflow: TextOverflow.ellipsis,
),
minLines: lines,