// Package model provides TUI data structures and state management package model import ( "github.com/charmbracelet/bubbles/list" "github.com/charmbracelet/lipgloss" ) // NewJobListDelegate creates a styled delegate for the job list func NewJobListDelegate() list.DefaultDelegate { delegate := list.NewDefaultDelegate() delegate.Styles.SelectedTitle = delegate.Styles.SelectedTitle. Foreground(lipgloss.Color("170")). Bold(true) delegate.Styles.SelectedDesc = delegate.Styles.SelectedDesc. Foreground(lipgloss.Color("246")) return delegate } // JobListTitleStyle returns the style for the job list title func JobListTitleStyle() lipgloss.Style { return lipgloss.NewStyle(). Bold(true). Foreground(lipgloss.AdaptiveColor{Light: "#2980b9", Dark: "#7aa2f7"}). Padding(0, 0, 1, 0) } // SpinnerStyle returns the style for the spinner func SpinnerStyle() lipgloss.Style { return lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#2980b9", Dark: "#7aa2f7"}) }