diff --git a/ui/pages/selection/item.go b/ui/pages/selection/item.go index 859ebdf4b7beb6e1cde110a2e0fddd446e257932..3db9edeb142ef0c3887a3aec3e0d6e9e97726666 100644 --- a/ui/pages/selection/item.go +++ b/ui/pages/selection/item.go @@ -122,12 +122,8 @@ func (d ItemDelegate) Render(w io.Writer, m list.Model, index int, listItem list } if isFiltered { - unmatched := lipgloss.NewStyle().Inline(true) + unmatched := styles.Title.Copy().Inline(true) matched := unmatched.Copy().Underline(true) - if isSelected { - unmatched = unmatched.Bold(true) - matched = matched.Bold(true) - } title = lipgloss.StyleRunes(title, matchedRunes, matched, unmatched) } title = styles.Title.Render(title) diff --git a/ui/styles/styles.go b/ui/styles/styles.go index def806a7424cebd9c83ff80edac24dd8e6c8da5b..0578b54244c89b78ebeaaa798906def1314e5b8b 100644 --- a/ui/styles/styles.go +++ b/ui/styles/styles.go @@ -192,8 +192,7 @@ func DefaultStyles() *Styles { BorderForeground(lipgloss.Color("212")) s.RepoSelector.Active.Title = s.RepoSelector.Normal.Title.Copy(). - Foreground(lipgloss.Color("212")). - Bold(true) + Foreground(lipgloss.Color("212")) s.RepoSelector.Active.Desc = s.RepoSelector.Normal.Desc.Copy(). Foreground(lipgloss.Color("246"))