Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProgressGradientStart = "#65A30D" ProgressGradientEnd = "#CAEA28" )
Variables ¶
View Source
var ( ColorBgBase = lipgloss.Color("#0C0A09") ColorBgSurface = lipgloss.Color("#1C1917") ColorBgOverlay = lipgloss.Color("#292524") ColorBrand = lipgloss.Color("#CAEA28") ColorAccent = lipgloss.Color("#A3E635") ColorAccentAlt = lipgloss.Color("#84CC16") ColorAccentDeep = lipgloss.Color("#65A30D") ColorSuccess = lipgloss.Color("#10B981") ColorError = lipgloss.Color("#EF4444") ColorWarning = lipgloss.Color("#F59E0B") ColorInfo = lipgloss.Color("#3B82F6") ColorFgBright = lipgloss.Color("#E7E5E4") ColorMuted = lipgloss.Color("#A8A29E") ColorDim = lipgloss.Color("#78716C") ColorBorder = lipgloss.Color("#44403C") ColorBorderFocus = ColorAccent )
View Source
var TechBorder = lipgloss.Border{
Top: "─",
Bottom: "─",
Left: "│",
Right: "│",
TopLeft: "┌",
TopRight: "┐",
BottomLeft: "└",
BottomRight: "┘",
}
Functions ¶
func Keycap ¶ added in v0.2.10
Keycap renders a key hint such as "[ENTER]" with a muted bracket and an accented, upper-cased key. It is foreground-only so it composes cleanly with inline (non alt-screen) surfaces that do not own a background.
func TechPanelStyle ¶ added in v0.2.10
TechPanelStyle returns a bordered panel style using the shared TechBorder. totalWidth is the full rendered footprint: in this lipgloss build Width() is the total output width (border + padding inclusive), so the inner content area is totalWidth - GetHorizontalFrameSize(). Focused panels use the accent focus border; unfocused panels use the muted border so the active pane reads at a glance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.