ui

package
v0.0.0-...-92af5c1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTheme

func SetTheme(t Theme)

SetTheme installs the active theme and rebuilds the cached render styles.

Types

type Model

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

func New

func New(store *engine.StateStore, statuses []engine.ProviderStatus) 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 RefreshMsg

type RefreshMsg struct{}

type Theme

type Theme struct {
	Low       lipgloss.Color
	Mid       lipgloss.Color
	High      lipgloss.Color
	Empty     lipgloss.Color
	Header    lipgloss.Color
	DotActive lipgloss.Color
	DotIdle   lipgloss.Color
	DotEnded  lipgloss.Color
	PanelLive lipgloss.Color
	PanelDead lipgloss.Color
	Label     lipgloss.Color
}

func ThemeByName

func ThemeByName(name string, noColor bool) Theme

ThemeByName returns the named theme (falling back to "default"), with all colors blanked when noColor is set.

Jump to

Keyboard shortcuts

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