on main help sign in
fix(ui/hooks): restore hook styling
commit1948ca7fa4b490a2e4eaae4cd59732131258926f authorChristian Rocha <christian@rocha.is> dateMon 27 Apr 2026, 12:46 (6 months ago) parentead1c28
1 file changed+12
internal/ui/styles/quickstyle.go+12
internal/ui/styles/quickstyle.go+12
@@ -699,6 +699,18 @@ func quickStyle(o quickStyleOpts) Styles {
699699 s.Tool.MediaType = base
700700 s.Tool.ResourceSize = base.Foreground(fgMuted)
701701
702+ // Hook styles
703+ s.Tool.HookLabel = base.Foreground(successSubtle)
704+ s.Tool.HookName = base
705+ s.Tool.HookMatcher = base.Foreground(fgMuted)
706+ s.Tool.HookArrow = base.Foreground(successSubtle)
707+ s.Tool.HookDetail = base.Foreground(fgMuted)
708+ s.Tool.HookOK = base.Foreground(successMuted)
709+ s.Tool.HookDenied = base.Foreground(error)
710+ s.Tool.HookDeniedLabel = base.Foreground(danger)
711+ s.Tool.HookDeniedReason = base.Foreground(bgOverlay)
712+ s.Tool.HookRewrote = base.Foreground(bgOverlay)
713+
702714 // Tool-call action verbs and result-list styling.
703715 s.Tool.ActionCreate = lipgloss.NewStyle().Foreground(successSubtle)
704716 s.Tool.ActionDestroy = lipgloss.NewStyle().Foreground(danger)