style

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TopHeight is the hard coded height of the top bubbles.
	TopHeight = 13
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Styles

type Styles struct {
	ActiveBorderColor   lipgloss.Color
	InactiveBorderColor lipgloss.Color

	// Accounts area
	Account           lipgloss.Style
	AccountBoldText   lipgloss.Style
	AccountGrayText   lipgloss.Style
	AccountBlueText   lipgloss.Style
	AccountYellowText lipgloss.Style

	// Status area
	Status         lipgloss.Style
	StatusBoldText lipgloss.Style

	// Bottom area
	Bottom          lipgloss.Style
	BottomPaginator lipgloss.Style

	BottomListTitle        lipgloss.Style
	BottomListItemSelector lipgloss.Style
	BottomListItemActive   lipgloss.Style
	BottomListItemInactive lipgloss.Style
	BottomListItemKey      lipgloss.Style

	// Footer
	Footer       lipgloss.Style
	FooterLeft   lipgloss.Style
	FooterMiddle lipgloss.Style
	FooterRight  lipgloss.Style
}

Styles defines styles for the TUI.

func DefaultStyles

func DefaultStyles() *Styles

DefaultStyles returns default styles for the TUI.

Jump to

Keyboard shortcuts

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