on main help sign in
fix(ui): fix wrong color on selected item info on dialogs (#2041)
e57687fAndrey Nering
internal/ui/dialog/commands_item.go+1−1
@@ -70,7 +70,7 @@ func (c *CommandItem) Render(width int) string {
70 ItemBlurred: c.t.Dialog.NormalItem,
70 ItemBlurred: c.t.Dialog.NormalItem,
71 ItemFocused: c.t.Dialog.SelectedItem,
71 ItemFocused: c.t.Dialog.SelectedItem,
72 InfoTextBlurred: c.t.Base,
72 InfoTextBlurred: c.t.Base,
73− InfoTextFocused: c.t.Subtle,
73+ InfoTextFocused: c.t.Base,
74 }
74 }
75 return renderItem(styles, c.title, c.shortcut, c.focused, width, c.cache, &c.m)
75 return renderItem(styles, c.title, c.shortcut, c.focused, width, c.cache, &c.m)
76}
76}
internal/ui/dialog/models_item.go+1−1
@@ -110,7 +110,7 @@ func (m *ModelItem) Render(width int) string {
110 ItemBlurred: m.t.Dialog.NormalItem,
110 ItemBlurred: m.t.Dialog.NormalItem,
111 ItemFocused: m.t.Dialog.SelectedItem,
111 ItemFocused: m.t.Dialog.SelectedItem,
112 InfoTextBlurred: m.t.Base,
112 InfoTextBlurred: m.t.Base,
113− InfoTextFocused: m.t.Subtle,
113+ InfoTextFocused: m.t.Base,
114 }
114 }
115 return renderItem(styles, m.model.Name, providerInfo, m.focused, width, m.cache, &m.m)
115 return renderItem(styles, m.model.Name, providerInfo, m.focused, width, m.cache, &m.m)
116}
116}
internal/ui/dialog/reasoning.go+1−1
@@ -297,7 +297,7 @@ func (r *ReasoningItem) Render(width int) string {
297 ItemBlurred: r.t.Dialog.NormalItem,
297 ItemBlurred: r.t.Dialog.NormalItem,
298 ItemFocused: r.t.Dialog.SelectedItem,
298 ItemFocused: r.t.Dialog.SelectedItem,
299 InfoTextBlurred: r.t.Base,
299 InfoTextBlurred: r.t.Base,
300− InfoTextFocused: r.t.Subtle,
300+ InfoTextFocused: r.t.Base,
301 }
301 }
302 return renderItem(styles, r.title, info, r.focused, width, r.cache, &r.m)
302 return renderItem(styles, r.title, info, r.focused, width, r.cache, &r.m)
303}
303}