tui

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TitleStyle = lipgloss.NewStyle().
				Bold(true).
				Foreground(highlight).
				MarginLeft(1).
				MarginBottom(1)

	StatusStyle = lipgloss.NewStyle().
				Foreground(muted).
				MarginLeft(1)

	ErrorStyle = lipgloss.NewStyle().
				Foreground(danger).
				Bold(true).
				MarginLeft(1).
				MarginTop(1)

	InfoStyle = lipgloss.NewStyle().
				Foreground(success).
				MarginLeft(1)

	SubtleStyle = lipgloss.NewStyle().
				Foreground(subtle)

	TabStyle = lipgloss.NewStyle().
				Padding(0, 2).
				Foreground(muted)

	ActiveTabStyle = TabStyle.Copy().
					Foreground(lipgloss.Color("#FFF")).
					Background(highlight).
					Bold(true)

	HelpStyle = lipgloss.NewStyle().
				Foreground(muted).
				PaddingLeft(1).
				MarginTop(1)

	DividerStyle = lipgloss.NewStyle().
					Foreground(subtle)

	TableStyle = lipgloss.NewStyle().
				MarginLeft(1).
				MarginRight(1)

	DetailStyle = lipgloss.NewStyle().
				Padding(1, 2).
				Border(lipgloss.RoundedBorder()).
				BorderForeground(subtle)

	PreviewStyle = lipgloss.NewStyle().
					Padding(0, 2).
					Height(10).
					Width(60).
					Border(lipgloss.RoundedBorder()).
					BorderForeground(subtle)
)

Functions

func NewModel

func NewModel(store *storage.NoteStore, engine *sync.Engine, cfg *config.Config, mgr *core.Manager) model

func Run

func Run(store *storage.NoteStore, engine *sync.Engine, cfg *config.Config, mgr *core.Manager) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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