ui

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorCyan        = "#7dcfff"
	ColorPurple      = "#bb9af7"
	ColorForeground  = "#c0caf5"
	ColorYellow      = "#e0af68"
	ColorOrange      = "#ff9e64"
	ColorComment     = "#9aa5ce"
	ColorBlue        = "#7aa2f7"
	ColorPink        = "#f7768e" // Tokyo Night pink/magenta for highlights
	ColorSelectionBg = "#414868" // Tokyo Night selection color for better visibility
	ColorBorder      = "#565f89" // Tokyo Night gray for borders
	ColorTimeAgo     = "#7aa2f7" // Blue-ish gray for time ago display
)

Tokyo Night color palette

Variables

View Source
var (
	HeaderStyle = lipgloss.NewStyle().
				Foreground(lipgloss.Color(ColorCyan)).
				Bold(true).
				Underline(true)

	LabelStyle = lipgloss.NewStyle().
				Foreground(lipgloss.Color(ColorPurple))

	ContentStyle = lipgloss.NewStyle().
					Foreground(lipgloss.Color(ColorForeground))

	ContextHeaderStyle = lipgloss.NewStyle().
						Foreground(lipgloss.Color(ColorYellow)).
						Bold(true)

	ActiveContextStyle = lipgloss.NewStyle().
						Foreground(lipgloss.Color(ColorOrange)).
						Bold(true)

	InactiveContextStyle = lipgloss.NewStyle().
							Foreground(lipgloss.Color(ColorComment))
)

Styles for preview window and TUI elements

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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