styles

package
v0.0.0-...-9a61f6b Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OutputHeader = lipgloss.NewStyle().
	Foreground(lipgloss.Color("#a9b1d6")).
	Background(lipgloss.Color("#9d7cd8")).
	Bold(true).
	Padding(0, 1).
	MarginRight(1)

OutputHeader is the style for the output header

Functions

func PrintConfirmation

func PrintConfirmation(action, content string)

PrintConfirmation prints a confirmation message

Types

type Styles

type Styles struct {
	AppName,
	CliArgs,
	Comment,
	CyclingChars,
	ErrorHeader,
	ErrorDetails,
	ErrPadding,
	Flag,
	FlagComma,
	FlagDesc,
	InlineCode,
	Link,
	Pipe,
	Quote,
	ConversationList,
	SHA1,
	Timeago lipgloss.Style
}

Styles contains all the styles used in the application

func MakeStyles

func MakeStyles(r *lipgloss.Renderer) (s Styles)

MakeStyles creates a new set of styles

Jump to

Keyboard shortcuts

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