refactor(ui): apply subdued color to thinking block text

Wrap italic thinking content with VeryMuted foreground color
for secondary visual hierarchy - less prominent than main response.
This commit is contained in:
Ed Zynda
2026-03-27 21:37:42 +03:00
parent c6304f1e92
commit 01d7d754ef
+4 -2
View File
@@ -533,9 +533,11 @@ func (s *StreamComponent) renderReasoningBlock(reasoning string) string {
lines = lines[len(lines)-maxCollapsedLines:]
}
// Main content using Italic for subdued visual distinction.
// Main content using Italic with subdued color for visual distinction.
content := strings.Join(lines, "\n")
parts = append(parts, s.ty.Italic(content))
theme := GetTheme()
subduedStyle := lipgloss.NewStyle().Foreground(theme.VeryMuted)
parts = append(parts, subduedStyle.Render(s.ty.Italic(content)))
// Duration footer without indentation.
var duration time.Duration