tui

package
v0.0.0-...-164a931 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Yellow    = lipgloss.Color("#FADB4F")
	DarkGray  = lipgloss.Color("#1C1C1C")
	LightGray = lipgloss.Color("#A0A0A0")
	White     = lipgloss.Color("#FFFFFF")
	Red       = lipgloss.Color("#FF5555")
)

ClickHouse brand colors.

View Source
var (
	TitleStyle = lipgloss.NewStyle().
				Bold(true).
				Foreground(DarkGray).
				Background(Yellow).
				Padding(0, 1)

	StatusStyle = lipgloss.NewStyle().
				Foreground(Yellow)

	BorderStyle = lipgloss.NewStyle().
				Border(lipgloss.RoundedBorder()).
				BorderForeground(Yellow).
				Padding(0, 1)

	SelectedStyle = lipgloss.NewStyle().
					Foreground(DarkGray).
					Background(Yellow).
					Bold(true)

	NormalStyle = lipgloss.NewStyle().
				Foreground(White)

	DimStyle = lipgloss.NewStyle().
				Foreground(LightGray)

	ErrorStyle = lipgloss.NewStyle().
				Foreground(Red).
				Bold(true)

	HeaderStyle = lipgloss.NewStyle().
				Foreground(Yellow).
				Bold(true).
				Underline(true)
)

Functions

func Run

func Run(client *db.Client) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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