52 lines
1.3 KiB
Go
52 lines
1.3 KiB
Go
package tui
|
|
|
|
import "github.com/charmbracelet/lipgloss"
|
|
|
|
var (
|
|
// Colors
|
|
secondaryColor = lipgloss.Color("241") // Gray
|
|
dimColor = lipgloss.Color("245") // Dimmer gray for matched text
|
|
|
|
// Styles
|
|
TitleStyle = lipgloss.NewStyle().
|
|
Bold(true).
|
|
Foreground(lipgloss.Color("213")). // Magenta/pink for title
|
|
MarginBottom(1)
|
|
|
|
// Key styles - bold and bright to stand out
|
|
KeyStyle = lipgloss.NewStyle().
|
|
Bold(true).
|
|
Foreground(lipgloss.Color("82")) // Bright green
|
|
|
|
KeyStyleSelected = lipgloss.NewStyle().
|
|
Bold(true).
|
|
Foreground(lipgloss.Color("154")) // Even brighter green for selected
|
|
|
|
LineNumStyle = lipgloss.NewStyle().
|
|
Foreground(lipgloss.Color("244")) // Medium gray
|
|
|
|
LineNumStyleSelected = lipgloss.NewStyle().
|
|
Foreground(lipgloss.Color("250")) // Lighter for selected
|
|
|
|
// Match text - dimmer to not compete with key
|
|
MatchTextStyle = lipgloss.NewStyle().
|
|
Foreground(dimColor)
|
|
|
|
MatchTextStyleSelected = lipgloss.NewStyle().
|
|
Foreground(lipgloss.Color("252")) // Slightly brighter when selected
|
|
|
|
// Cursor
|
|
CursorStyle = lipgloss.NewStyle().
|
|
Bold(true).
|
|
Foreground(lipgloss.Color("212"))
|
|
|
|
HelpStyle = lipgloss.NewStyle().
|
|
Foreground(secondaryColor).
|
|
MarginTop(1)
|
|
|
|
NoResultsStyle = lipgloss.NewStyle().
|
|
Foreground(secondaryColor).
|
|
Italic(true).
|
|
MarginTop(1)
|
|
)
|