styles

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Base application style
	AppStyle = lipgloss.NewStyle().
				Padding(0, 1, 0, 1)

	// Text styles
	HighlightStyle = lipgloss.NewStyle().
					Bold(true).
					Foreground(highlight)

	MutedStyle = lipgloss.NewStyle().
				Foreground(muted)

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

	SecondaryStyle = lipgloss.NewStyle().
					Foreground(secondary)

	// Status styles
	SuccessStyle = lipgloss.NewStyle().
					Foreground(success)

	ErrorStyle = lipgloss.NewStyle().
				Foreground(errorColor)

	WarningStyle = lipgloss.NewStyle().
					Foreground(warning)

	ActiveStyle = lipgloss.NewStyle().
				Foreground(active)

	InProgressStyle = lipgloss.NewStyle().
					Foreground(inProgress)

	PendingStyle = lipgloss.NewStyle().
					Foreground(pending)

	// Layout styles
	HeaderStyle = lipgloss.NewStyle().
				Bold(true).
				Foreground(highlight).
				Padding(0, 0, 1, 0)

	BaseStyle = lipgloss.NewStyle()

	BorderStyle = lipgloss.NewStyle().
				Border(lipgloss.RoundedBorder()).
				BorderForeground(borderPrimary)

	// Input styles
	InputStyle = lipgloss.NewStyle().
				Padding(2, 0, 1, 0)

	FocusedStyle = lipgloss.NewStyle().
					Padding(2, 0, 1, 0)

	// Layout helpers
	CenterStyle = lipgloss.NewStyle().
				Align(lipgloss.Center, lipgloss.Center)

	// Deprecated styles (kept for backward compatibility)
	StatusStyle = MutedStyle
	ActionStyle = SecondaryStyle
	ChatStyle   = BaseStyle
)

Generic, reusable styles

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