Skip to content

Commit fdfa268

Browse files
authored
Merge pull request #876 from rockygeekz/fix/autocomplete-ghost-color
Improve autocomplete ghost text visibility on dark theme (#870)
2 parents c236959 + 5019c19 commit fdfa268

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pkg/tui/styles/styles.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ const (
5757
// Interactive element colors
5858
ColorSelected = "#364A82" // Dark blue for selected items
5959
ColorHover = "#2D3F5F" // Slightly lighter than selected
60+
61+
// AutoCompleteGhost colors
62+
ColorSuggestionGhost = "#6B6B6B"
6063
)
6164

6265
// Chroma syntax highlighting colors (Monokai theme)
@@ -349,7 +352,8 @@ var (
349352
}
350353
EditorStyle = BaseStyle.Padding(2, 0, 0, 0)
351354
// SuggestionGhostStyle renders inline auto-complete hints in a muted tone.
352-
SuggestionGhostStyle = BaseStyle.Foreground(TextMuted)
355+
// Use a distinct grey so suggestion text is visually separate from the user's input.
356+
SuggestionGhostStyle = BaseStyle.Foreground(lipgloss.Color(ColorSuggestionGhost))
353357
)
354358

355359
// Scrollbar

0 commit comments

Comments
 (0)