Help us shape the future of Go! Take the 2026 Go Developer Survey

ui

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package ui is the Bubble Tea dashboard.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New() Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

type Theme added in v0.3.0

type Theme struct {
	Name                       string
	Accent, Accent2            lipgloss.Color // brand gradient (logo, active tab, focus)
	Text, Muted, Faint, Border lipgloss.Color
	Sel                        lipgloss.Color // selection / surface background
	OnAccent                   lipgloss.Color // text drawn on accent backgrounds
	Claude, Codex, Pi          lipgloss.Color
	Green, Yellow, Red, Code   lipgloss.Color
}

Theme is a complete palette; applyTheme turns it into the package-level colors and styles.

Jump to

Keyboard shortcuts

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