styles

package
v0.0.0-...-8a942f9 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WhiteColor    = lipgloss.Color("#869496")
	BlackColor    = lipgloss.Color("#14272f")
	DarkBlueColor = lipgloss.Color("#173540")
	GreyColor     = lipgloss.Color("#676767")
	BlueColor     = lipgloss.Color("#4689cc")
	YellowColor   = lipgloss.Color("#ae8a2d")
	RedColor      = lipgloss.Color("#cc241d")
)

colors

View Source
var (
	DefaultWhiteText = lipgloss.NewStyle().
						Foreground(WhiteColor)

	DefaultKeyStyle = lipgloss.NewStyle().
					Bold(true).
					Foreground(DarkBlueColor).
					Background(GreyColor)

	InfoValueStyle = lipgloss.NewStyle().
					Foreground(BlackColor).
					Background(BlueColor)

	WarnValueStyle = lipgloss.NewStyle().
					Foreground(DarkBlueColor).
					Background(YellowColor)

	ErrorValueStyle = lipgloss.NewStyle().
					Foreground(DarkBlueColor).
					Background(RedColor)

	FatalValueStyle = lipgloss.NewStyle().
					Foreground(DarkBlueColor).
					Background(GreyColor)

	TitleStyle = func() lipgloss.Style {
		b := lipgloss.RoundedBorder()
		b.Right = "├"
		return lipgloss.NewStyle().BorderStyle(b).Padding(0, 1)
	}()

	InfoStyle = func() lipgloss.Style {
		b := lipgloss.RoundedBorder()
		b.Left = "┤"
		return TitleStyle.Copy().BorderStyle(b)
	}()
)

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