mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
refactor(ui): use Italic typography for thinking blocks
Change thinking content from H6 to Italic for more subdued, secondary visual appearance. Makes reasoning text less prominent than main assistant responses.
This commit is contained in:
@@ -533,9 +533,9 @@ func (s *StreamComponent) renderReasoningBlock(reasoning string) string {
|
||||
lines = lines[len(lines)-maxCollapsedLines:]
|
||||
}
|
||||
|
||||
// Main content using H6 (subtitle) for visual distinction.
|
||||
// Main content using Italic for subdued visual distinction.
|
||||
content := strings.Join(lines, "\n")
|
||||
parts = append(parts, s.ty.H6(content))
|
||||
parts = append(parts, s.ty.Italic(content))
|
||||
|
||||
// Duration footer without indentation.
|
||||
var duration time.Duration
|
||||
|
||||
Reference in New Issue
Block a user