Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
FormatDuration formats seconds into a human-readable string like "2h 30m" or "45m".
func FormatTimestamp ¶
FormatTimestamp formats seconds as H:MM:SS or M:SS.
Types ¶
type ListItem ¶
type ListItem struct {
Item abs.LibraryItem
}
ListItem wraps a LibraryItem to implement the bubbles list.Item interface. Used by library and search screens for items without progress tracking.
func (ListItem) Description ¶
func (ListItem) FilterValue ¶
type Styles ¶
type Styles struct {
Title lipgloss.Style
Subtitle lipgloss.Style
Muted lipgloss.Style
Selected lipgloss.Style
Error lipgloss.Style
Accent lipgloss.Style
Border lipgloss.Style
PlayerBar lipgloss.Style
StatusBar lipgloss.Style
}
Styles holds all lipgloss styles derived from the active theme.
func DefaultStyles ¶
func DefaultStyles() Styles
DefaultStyles returns styles using the default Everforest Dark palette.
func NewStyles ¶
func NewStyles(theme config.ThemeConfig) Styles
NewStyles builds a Styles set from a ThemeConfig, allowing user overrides.