54 lines
1.2 KiB
Go
54 lines
1.2 KiB
Go
package tui
|
|
|
|
import "github.com/charmbracelet/lipgloss"
|
|
|
|
var (
|
|
// Colors
|
|
secondaryColor = lipgloss.Color("241") // Gray
|
|
dimColor = lipgloss.Color("245") // Dimmer gray
|
|
|
|
// Title
|
|
TitleStyle = lipgloss.NewStyle().
|
|
Bold(true).
|
|
Foreground(lipgloss.Color("213")) // Magenta/pink
|
|
|
|
// ID styles
|
|
IDStyle = lipgloss.NewStyle().
|
|
Bold(true).
|
|
Foreground(lipgloss.Color("82")) // Bright green
|
|
|
|
IDStyleSelected = lipgloss.NewStyle().
|
|
Bold(true).
|
|
Foreground(lipgloss.Color("154")) // Even brighter green
|
|
|
|
// DateTime styles
|
|
DateTimeStyle = lipgloss.NewStyle().
|
|
Foreground(lipgloss.Color("244")) // Medium gray
|
|
|
|
DateTimeStyleSelected = lipgloss.NewStyle().
|
|
Foreground(lipgloss.Color("250")) // Lighter
|
|
|
|
// Content styles
|
|
ContentStyle = lipgloss.NewStyle().
|
|
Foreground(dimColor)
|
|
|
|
ContentStyleSelected = lipgloss.NewStyle().
|
|
Foreground(lipgloss.Color("252")) // Brighter when selected
|
|
|
|
// Cursor
|
|
CursorStyle = lipgloss.NewStyle().
|
|
Bold(true).
|
|
Foreground(lipgloss.Color("212"))
|
|
|
|
// Help
|
|
HelpStyle = lipgloss.NewStyle().
|
|
Foreground(secondaryColor).
|
|
MarginTop(1)
|
|
|
|
// No results
|
|
NoResultsStyle = lipgloss.NewStyle().
|
|
Foreground(secondaryColor).
|
|
Italic(true).
|
|
MarginTop(1)
|
|
)
|