ui

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Symbols = symbols{
		Checkmark: "✔",
		Dot:       "•",
	}

	Colors = colorTypes{
		Black:     "16",
		Blue:      "12",
		Cyan:      "14",
		Gray:      "245",
		Green:     "10",
		LightGray: "241",
		Magenta:   "5",
		Purple:    "99",
		LightRed:  "1",
		Red:       "9",
		White:     "15",
		Yellow:    "11",
	}

	Styles = styleTypes{
		Bold: lipgloss.NewStyle().Bold(true),

		Faint: lipgloss.NewStyle().Faint(true),
		Green: lipgloss.NewStyle().
			Bold(true).
			Foreground(Colors.Green),
		Blue: lipgloss.NewStyle().
			Bold(true).
			Foreground(Colors.Blue),
		Cyan: lipgloss.NewStyle().
			Bold(true).
			Foreground(Colors.Cyan),
		Magenta: lipgloss.NewStyle().
			Bold(true).
			Foreground(Colors.Magenta),
		White: lipgloss.NewStyle().
			Bold(true).
			Foreground(Colors.Yellow),
		Yellow: lipgloss.NewStyle().
			Bold(true).
			Foreground(Colors.Yellow),
		Red: lipgloss.NewStyle().
			Bold(true).
			Foreground(Colors.Red),
		LightRed: lipgloss.NewStyle().
			Bold(true).
			Foreground(Colors.LightRed),
		Purple: lipgloss.NewStyle().
			Bold(true).
			Foreground(Colors.Purple),
		Black: lipgloss.NewStyle().
			Bold(true).
			Foreground(Colors.Black),
	}
)

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