Documentation
¶
Index ¶
Constants ¶
View Source
const ( IconSuccess = "✓" IconError = "✗" IconWarning = "⚠" IconInfo = "ℹ" IconRunning = "▶" IconPending = "○" IconSkipped = "⊘" IconSystem = "●" IconGear = "⚙" IconBullet = "•" IconHealthy = "●" // Green filled circle for healthy IconUnhealthy = "●" // Red filled circle for unhealthy IconUnknown = "○" // Empty circle for unknown )
Status icons
Variables ¶
View Source
var DefaultStyles = DefaultTheme()
DefaultStyles returns the default theme for convenience.
Functions ¶
func HealthIcon ¶
HealthIcon returns the appropriate icon for a health status.
func LogLevelIcon ¶
LogLevelIcon returns the appropriate icon for a log level.
func StatusIcon ¶
StatusIcon returns the appropriate icon for a service status.
Types ¶
type Theme ¶
type Theme struct {
// Colors
Primary lipgloss.Color
Secondary lipgloss.Color
Success lipgloss.Color
Warning lipgloss.Color
Error lipgloss.Color
Muted lipgloss.Color
Text lipgloss.Color
TextDim lipgloss.Color
// Base styles
Border lipgloss.Style
Title lipgloss.Style
TitleMuted lipgloss.Style
Selected lipgloss.Style
Keybind lipgloss.Style
KeybindKey lipgloss.Style
StatusRunning lipgloss.Style
StatusDead lipgloss.Style
StatusPending lipgloss.Style
}
Theme defines the color palette and base styles for the TUI.
Click to show internal directories.
Click to hide internal directories.