ui

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TitleStyle = lipgloss.NewStyle().Bold(true).Foreground(brightGreen).MarginBottom(1)
	GPStyle    = lipgloss.NewStyle().Bold(true).Foreground(white).MarginBottom(1)
	CardStyle  = lipgloss.NewStyle().Padding(1, 2).Border(lipgloss.RoundedBorder()).BorderForeground(brightGreen).Background(darkGreen)
	LabelStyle = lipgloss.NewStyle().Foreground(mediumGray)
	LiveBadge  = lipgloss.NewStyle().Bold(true).Foreground(darkBg).Background(brightGreen).Padding(0, 1)
	ErrorStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#FF6B6B"))
	RoundBadge = lipgloss.NewStyle().Bold(true).Foreground(darkBg).Background(brightGreen).Padding(0, 1)

	// Style for circuit ASCII art
	CircuitStyle = lipgloss.NewStyle().Foreground(brightGreen)
)

Functions

This section is empty.

Types

type Model

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

func InitialModel

func InitialModel() Model

InitialModel creates the initial model state

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

Jump to

Keyboard shortcuts

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