init commit

This commit is contained in:
ysandler
2026-01-22 23:03:49 -06:00
commit 1eae04fc60
21 changed files with 1688 additions and 0 deletions

51
internal/tui/styles.go Normal file
View File

@@ -0,0 +1,51 @@
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)
)