@@ -3,7 +3,6 @@ package messages
33import (
44 "fmt"
55
6− "github.com/charmbracelet/bubbles/v2/spinner"
76 tea "github.com/charmbracelet/bubbletea/v2"
87 "github.com/charmbracelet/crush/internal/message"
98 "github.com/charmbracelet/crush/internal/tui/components/anim"
@@ -91,9 +90,10 @@ func NewToolCallCmp(parentMessageID string, tc message.ToolCall, opts ...ToolCal
9190 for _, opt := range opts {
9291 opt(m)
9392 }
94− m.anim = anim.New(15, "Working")
93+ t := styles.CurrentTheme()
94+ m.anim = anim.New(15, "Working", t)
9595 if m.isNested {
96− m.anim = anim.New(10, "")
96+ m.anim = anim.New(10, "", t)
9797 }
9898 return m
9999}
@@ -112,7 +112,7 @@ func (m *toolCallCmp) Init() tea.Cmd {
112112// Manages animation updates for pending tool calls.
113113func (m *toolCallCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
114114 switch msg := msg.(type) {
115− case anim.ColorCycleMsg, anim.StepCharsMsg, spinner.TickMsg:
115+ case anim.StepMsg:
116116 var cmds []tea.Cmd
117117 for i, nested := range m.nestedToolCalls {
118118 if nested.Spinning() {