From 02e8f4e1798d0717072570c97731e249604fe5fb Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Fri, 10 Jun 2022 22:46:26 -0700 Subject: [PATCH] chore: adjust little cursor color in files/branches/tag --- ui/styles/styles.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/styles/styles.go b/ui/styles/styles.go index f5a2ea6b8fbd2b55c8651079f6ac1d7e5ff974a1..b626158b12891ff3305af51b5479759bec4931f1 100644 --- a/ui/styles/styles.go +++ b/ui/styles/styles.go @@ -101,6 +101,7 @@ type Styles struct { func DefaultStyles() *Styles { highlightColor := lipgloss.Color("210") highlightColorDim := lipgloss.Color("174") + selectorColor := lipgloss.Color("204") s := new(Styles) @@ -251,7 +252,7 @@ func DefaultStyles() *Styles { s.RefItemInactive = lipgloss.NewStyle() s.RefItemSelector = lipgloss.NewStyle(). - Foreground(lipgloss.Color("#B083EA")). + Foreground(selectorColor). SetString("> ") s.RefItemActive = s.RefItemActive.Copy(). @@ -274,7 +275,7 @@ func DefaultStyles() *Styles { s.TreeItemSelector = s.TreeItemInactive.Copy(). Width(1). - Foreground(lipgloss.Color("#B083EA")) + Foreground(selectorColor) s.TreeItemInactive = lipgloss.NewStyle(). MarginLeft(1)