Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Docstyle = lipgloss.NewStyle().Margin(1, 2) TitleStyle = lipgloss.NewStyle().MarginLeft(0).Foreground(AsePrimary) ItemStyle = lipgloss.NewStyle().PaddingLeft(4) SelectedItemStyle = lipgloss.NewStyle().PaddingLeft(2).Foreground(AsePrimary) PaginationStyle = list.DefaultStyles().PaginationStyle.PaddingLeft(4).Foreground(AsePrimary) HelpStyle = list.DefaultStyles().HelpStyle.PaddingLeft(0).PaddingBottom(1) QuitTextStyle = lipgloss.NewStyle().Margin(1, 0, 2, 4) )
Styling
View Source
var AsePrimary = lipgloss.Color("#0077B3")
Lipgloss colors that can be easily reused
View Source
var Bold = lipgloss.NewStyle().Bold(true)
View Source
var Error = lipgloss.NewStyle().Foreground(ErrorPrimary)
View Source
var ErrorPrimary = lipgloss.Color("#FF0000")
View Source
var FormTheme = huh.ThemeBase()
Form theme
View Source
var Gray = lipgloss.NewStyle().Foreground(GrayPrimary)
View Source
var GrayPrimary = lipgloss.Color("#808080")
View Source
var Primary = lipgloss.NewStyle().Foreground(AsePrimary)
View Source
var Subtitle = lipgloss.NewStyle().Foreground(GrayPrimary)
View Source
var Success = lipgloss.NewStyle().Foreground(SuccessPrimary)
View Source
var SuccessLight = lipgloss.Color("#7bc990")
View Source
var SuccessPrimary = lipgloss.Color("#008000")
View Source
var Title = lipgloss.NewStyle().Foreground(AsePrimary).Bold(true)
Lipgloss classes that can be easily reused
View Source
var Warning = lipgloss.NewStyle().Foreground(WarningPrimary)
View Source
var WarningPrimary = lipgloss.Color("#FFA500")
Functions ¶
func DefaultListDelegate ¶
func DefaultListDelegate() list.DefaultDelegate
Delegates (i.e. list items)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.