Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Base application style AppStyle = lipgloss.NewStyle(). Padding(0, 1, 0, 1) // Text styles HighlightStyle = lipgloss.NewStyle(). Bold(true). Foreground(highlight) MutedStyle = lipgloss.NewStyle(). Foreground(muted) SubtleStyle = lipgloss.NewStyle(). Foreground(subtle) SecondaryStyle = lipgloss.NewStyle(). Foreground(secondary) // Status styles SuccessStyle = lipgloss.NewStyle(). Foreground(success) ErrorStyle = lipgloss.NewStyle(). Foreground(errorColor) WarningStyle = lipgloss.NewStyle(). Foreground(warning) ActiveStyle = lipgloss.NewStyle(). Foreground(active) InProgressStyle = lipgloss.NewStyle(). Foreground(inProgress) PendingStyle = lipgloss.NewStyle(). Foreground(pending) // Layout styles HeaderStyle = lipgloss.NewStyle(). Bold(true). Foreground(highlight). Padding(0, 0, 1, 0) BaseStyle = lipgloss.NewStyle() BorderStyle = lipgloss.NewStyle(). Border(lipgloss.RoundedBorder()). BorderForeground(borderPrimary) ToolsStyle = lipgloss.NewStyle(). Border(lipgloss.RoundedBorder()). BorderForeground(borderPrimary). PaddingLeft(0). MarginLeft(0). Align(lipgloss.Left) // Input styles InputStyle = lipgloss.NewStyle(). Padding(2, 0, 1, 0) FocusedStyle = lipgloss.NewStyle(). Padding(2, 0, 1, 0) // Layout helpers CenterStyle = lipgloss.NewStyle(). Align(lipgloss.Center, lipgloss.Center) // Deprecated styles (kept for backward compatibility) StatusStyle = MutedStyle ActionStyle = SecondaryStyle ChatStyle = BaseStyle )
Generic, reusable styles
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.