views

package
v0.13.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Green           = lipgloss.AdaptiveColor{Light: "#23cc71", Dark: "#23cc71"}
	TempGreen       = lipgloss.AdaptiveColor{Light: "#23cc71", Dark: "#23cc71"}
	DimmedGreen     = lipgloss.AdaptiveColor{Light: "#50d98f", Dark: "#50d98f"}
	TempDimmedGreen = lipgloss.AdaptiveColor{Light: "#7be0a9", Dark: "#7be0a9"}
	Red             = lipgloss.AdaptiveColor{Light: "#ff4567", Dark: "#ff4567"}
	Orange          = lipgloss.AdaptiveColor{Light: "#eb9834", Dark: "#eb9834"}
	White           = lipgloss.AdaptiveColor{Light: "fff", Dark: "fff"}
	Black           = lipgloss.AdaptiveColor{Light: "000", Dark: "000"}
	Gray            = lipgloss.AdaptiveColor{Light: "243", Dark: "243"}
	LightGray       = lipgloss.AdaptiveColor{Light: "#828282", Dark: "#828282"}
)
View Source
var CheckmarkSymbol = lipgloss.NewStyle().Foreground(lipgloss.Color("42")).SetString("✓")
View Source
var DefaultLayoutMarginTop = 1
View Source
var DocStyle = lipgloss.
	NewStyle().
	Margin(3, 2, 1, 2).
	Padding(1, 2).
	BorderForeground(LightGray).
	Border(lipgloss.RoundedBorder())

Functions

func ColorGrid

func ColorGrid(xSteps, ySteps int) [][]string

func GetBorderedMessage added in v0.13.0

func GetBorderedMessage(message string) string

func GetCustomTheme

func GetCustomTheme() *huh.Theme

func GetInitialCommandTheme added in v0.13.0

func GetInitialCommandTheme() *huh.Theme

func GetListFooter added in v0.13.0

func GetListFooter(profileName string) string

func GetSeparatorString

func GetSeparatorString() string

func GetStyledMainTitle added in v0.13.0

func GetStyledMainTitle(content string) string

func GetStyledSelectList

func GetStyledSelectList(items []list.Item) list.Model

func RenderBorderedMessage added in v0.13.0

func RenderBorderedMessage(message string)

func RenderCreationInfoMessage added in v0.13.0

func RenderCreationInfoMessage(message string)

func RenderDefaultIdeUpdated

func RenderDefaultIdeUpdated(ide string)

func RenderInfoMessage added in v0.13.0

func RenderInfoMessage(message string)

func RenderInfoMessageBold added in v0.13.0

func RenderInfoMessageBold(message string)

func RenderLine added in v0.13.0

func RenderLine(message string)

func RenderListLine added in v0.13.0

func RenderListLine(message string)

func RenderMainTitle added in v0.13.0

func RenderMainTitle(title string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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