ui

package
v0.0.0-...-b96dfb9 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptiveColumns

func AdaptiveColumns(width int) []table.Column

Types

type Theme

type Theme struct {
	Base   lipgloss.Style
	Header lipgloss.Style
	Footer lipgloss.Style
	Error  lipgloss.Style
}

Theme contains reusable styles for the TUI components. Use DefaultTheme to obtain a sane preset.

func DefaultTheme

func DefaultTheme() Theme

DefaultTheme returns a preset Theme with borders, header/footer emphasis, and an error style in red for visibility.

Jump to

Keyboard shortcuts

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