style

package
v0.3.23 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FocusColor = lipgloss.Color("#25A065")

	App = lipgloss.NewStyle()

	TitleBar = lipgloss.NewStyle().
				Padding(0, 0, 1, 2).
				Inherit(list.DefaultStyles().TitleBar)
	Title = lipgloss.NewStyle().
			Width(15).
			Align(lipgloss.Center).
			Background(FocusColor).
			Inherit(list.DefaultStyles().Title)
	Text = lipgloss.NewStyle()

	Pane = lipgloss.NewStyle().
			Border(lipgloss.NormalBorder()).
			Inherit(App)
	FocusedPane = lipgloss.NewStyle().
				Border(lipgloss.ThickBorder()).
				BorderForeground(FocusColor).
				Inherit(Pane)

	Preview = lipgloss.NewStyle().
			Border(lipgloss.ThickBorder()).
			Inherit(App)
	PreviewTitle = lipgloss.NewStyle().
					Inherit(Title)
	PreviewText = lipgloss.NewStyle().
				Inherit(Text)

	CardPreview = lipgloss.NewStyle().
				Align(lipgloss.Center, lipgloss.Center).
				Inherit(Preview)
	DeckPreview = lipgloss.NewStyle().
				Align(lipgloss.Center, lipgloss.Center).
				Inherit(Preview)

	StatusBar = lipgloss.NewStyle().
				Inherit(App)
	StatusLogs = lipgloss.NewStyle().
				Align(lipgloss.Center, lipgloss.Center).
				Inherit(StatusBar)
	StatusSpacer = lipgloss.NewStyle().Inherit(StatusBar)
	StatusHints  = lipgloss.NewStyle().
					Align(lipgloss.Center, lipgloss.Center).
					Inherit(StatusBar)
)

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