styles

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ColorPrimary = lipgloss.Color("204")
	ColorError   = lipgloss.Color("9")

	FocusedStyle        = lipgloss.NewStyle().Foreground(ColorPrimary)
	BlurredStyle        = lipgloss.NewStyle().Foreground(lipgloss.Color("238"))
	CursorStyle         = FocusedStyle
	NoStyle             = lipgloss.NewStyle()
	HelpStyle           = BlurredStyle
	CursorModeHelpStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("244"))
	ErrorStyle          = lipgloss.NewStyle().Foreground(ColorError)
	LabelStyle          = lipgloss.NewStyle().Foreground(lipgloss.Color("240"))

	AuthCard = lipgloss.NewStyle().
				Width(35).
				Padding(1, 2).
				Border(lipgloss.RoundedBorder())

	FocusedButton = FocusedStyle.Render("[ Submit ]")
	BlurredButton = fmt.Sprintf("[ %s ]", BlurredStyle.Render("Submit"))
)

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