Help us shape the future of Go! Take the 2026 Go Developer Survey

common

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const BulbEmoji = "💡"
View Source
const ErrorEmoji = "❗️"
View Source
const OKEmoji = "✅"
View Source
const ProgressShowLastResults = 5
View Source
const WarningEmoji = "❓"

Variables

View Source
var (
	Indigo       = lipgloss.AdaptiveColor{Dark: "#7571F9", Light: "#5A56E0"}
	SubtleIndigo = lipgloss.AdaptiveColor{Dark: "#514DC1", Light: "#7D79F6"}
	Cream        = lipgloss.AdaptiveColor{Dark: "#FFFDF5", Light: "#FFFDF5"}
	YellowGreen  = lipgloss.AdaptiveColor{Dark: "#ECFD65", Light: "#04B575"}
	Fuschia      = lipgloss.AdaptiveColor{Dark: "#EE6FF8", Light: "#EE6FF8"}
	Green        = lipgloss.AdaptiveColor{Dark: "#04B575", Light: "#04B575"}
	Red          = lipgloss.AdaptiveColor{Dark: "#ED567A", Light: "#FF4672"}
	FaintRed     = lipgloss.AdaptiveColor{Dark: "#C74665", Light: "#FF6F91"}
	NoColor      = lipgloss.AdaptiveColor{Dark: "", Light: ""}
)

Colors for dark and light backgrounds.

View Source
var (
	TitleStyle    = lipgloss.NewStyle().Foreground(Cream).Background(Indigo)
	SubtitleStyle = lipgloss.NewStyle().Foreground(Cream).Background(SubtleIndigo)
	InfoStyle     = lipgloss.NewStyle().Foreground(Cream).Background(NoColor)
	QuitMsgStyle  = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#DDDADA", Dark: "#3C3C3C"})
	ErrorMsgStyle = lipgloss.NewStyle().Foreground(Red)
)
View Source
var Spinner = spinner.Dot

Functions

func RandomHappyEmoji

func RandomHappyEmoji() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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