theme

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package theme provides the color palette, icons, and logo for the Lango Cockpit TUI.

Index

Constants

View Source
const (
	IconChat      = "◉"
	IconSettings  = "⚙"
	IconTools     = "⚡"
	IconStatus    = "◍"
	IconSessions  = "◈"
	IconApprovals = "◎"
)

Navigation icons for sidebar menu items.

View Source
const (
	IndicatorActive   = "●"
	IndicatorInactive = "○"
	IndicatorPass     = "✓"
	IndicatorFail     = "✗"
)

Status indicators.

View Source
const (
	SidebarFullWidth      = 20
	SidebarCollapsedWidth = 3
)

Sidebar width constants.

View Source
const ContextPanelWidth = 28

Context panel width constant.

Variables

View Source
var (
	Surface0 = lipgloss.Color("#111827")
	Surface1 = lipgloss.Color("#1F2937")
	Surface2 = lipgloss.Color("#374151")
	Surface3 = lipgloss.Color("#4B5563")
)

Surface colors (dark mode, deepest to highest).

View Source
var (
	TextPrimary   = lipgloss.Color("#F9FAFB")
	TextSecondary = lipgloss.Color("#9CA3AF")
	TextTertiary  = lipgloss.Color("#6B7280")
)

Text colors.

View Source
var (
	BorderFocused = lipgloss.Color("#7C3AED")
	BorderDefault = lipgloss.Color("#374151")
	BorderSubtle  = lipgloss.Color("#1F2937")
)

Border colors.

View Source
var (
	Primary = lipgloss.Color("#7C3AED")
	Success = lipgloss.Color("#10B981")
	Warning = lipgloss.Color("#F59E0B")
	Error   = lipgloss.Color("#EF4444")
	Accent  = lipgloss.Color("#04B575")
	Muted   = lipgloss.Color("#6B7280")
)

Brand colors (match existing tui/styles.go).

View Source
var (
	Danger    = Error                     // destructive/high-risk operations
	Info      = lipgloss.Color("#3B82F6") // informational highlights
	Selection = Accent                    // user selection/focus indicator
)

Semantic color aliases for state-driven rendering.

Functions

func RenderLogo() string

RenderLogo returns the squirrel mascot ASCII art with color styling.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL