Documentation
¶
Overview ¶
Package common holds shared types and styles used across TUI components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DimStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("241")) HelpStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("246")) TextStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("252")) TextSelectedStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("62")).Bold(true) TitleStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("62")).Bold(true).Padding(0, 1) )
Shared palette/UI styles
Functions ¶
func ApplyTheme ¶
ApplyTheme updates the shared styles to match the active theme. Call this from the tui package whenever the theme changes.
Types ¶
Click to show internal directories.
Click to hide internal directories.