Documentation ¶
Index ¶
- Variables
- func GetBoldedInfoMessage(message string) string
- func GetBorderedMessage(message string) string
- func GetBranchNameLabel(branch string) string
- func GetContainerBreakpointWidth(terminalWidth int) int
- func GetCustomTheme() *huh.Theme
- func GetEnvVarsInput(envVars *map[string]string) *huh.Text
- func GetInfoMessage(message string) string
- func GetInitialCommandTheme() *huh.Theme
- func GetListFooter(profileName string, padding *Padding) string
- func GetListLine(message string) string
- func GetPropertyKey(key string) string
- func GetStyledMainTitle(content string) string
- func GetStyledSelectList(items []list.Item) list.Model
- func RenderBorderedMessage(message string)
- func RenderContainerLayout(output string)
- func RenderCreationInfoMessage(message string)
- func RenderInfoMessage(message string)
- func RenderInfoMessageBold(message string)
- func RenderLine(message string)
- func RenderListLine(message string)
- func RenderMainTitle(title string)
- func RenderViewBuildLogsMessage(buildId string)
- type Padding
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Green = lipgloss.AdaptiveColor{Light: "#23cc71", Dark: "#23cc71"} Blue = lipgloss.AdaptiveColor{Light: "#017ffe", Dark: "#017ffe"} Yellow = lipgloss.AdaptiveColor{Light: "#d4ed2d", Dark: "#d4ed2d"} Cyan = lipgloss.AdaptiveColor{Light: "#3ef7e5", Dark: "#3ef7e5"} DimmedGreen = lipgloss.AdaptiveColor{Light: "#7be0a9", Dark: "#7be0a9"} Orange = lipgloss.AdaptiveColor{Light: "#e3881b", Dark: "#e3881b"} Light = lipgloss.AdaptiveColor{Light: "#000", Dark: "#fff"} Dark = lipgloss.AdaptiveColor{Light: "#fff", Dark: "#000"} Gray = lipgloss.AdaptiveColor{Light: "243", Dark: "243"} LightGray = lipgloss.AdaptiveColor{Light: "#828282", Dark: "#828282"} )
View Source
var ( BaseTableStyleHorizontalPadding = 4 BaseTableStyle = lipgloss.NewStyle(). PaddingLeft(BaseTableStyleHorizontalPadding). PaddingRight(BaseTableStyleHorizontalPadding). PaddingTop(1). Margin(1, 0) NameStyle = lipgloss.NewStyle().Foreground(Light) ActiveStyle = lipgloss.NewStyle().Foreground(Green) InactiveStyle = lipgloss.NewStyle().Foreground(Orange) DefaultRowDataStyle = lipgloss.NewStyle().Foreground(Gray) BaseCellStyle = lipgloss.NewRenderer(os.Stdout).NewStyle().Padding(0, 4, 1, 0) TableHeaderStyle = BaseCellStyle.Copy().Foreground(LightGray).Bold(false).Padding(0).MarginRight(4) )
View Source
var BasicLayout = lipgloss. NewStyle(). Margin(1, 0). PaddingLeft(2)
View Source
var CheckmarkSymbol = lipgloss.NewStyle().Foreground(lipgloss.Color("42")).SetString("✓")
View Source
var DefaultHorizontalMargin = 1
View Source
var DefaultLayoutMarginTop = 1
View Source
var DocStyle = lipgloss. NewStyle(). Margin(3, 2, 1, 2). Padding(1, 2)
View Source
var LogPrefixColors = []lipgloss.AdaptiveColor{ Blue, Yellow, Orange, Cyan, }
View Source
var SeparatorString = lipgloss.NewStyle().Foreground(LightGray).Render("===")
View Source
var TUITableMinimumWidth = 80
Functions ¶
func GetBoldedInfoMessage ¶ added in v0.13.0
func GetBorderedMessage ¶ added in v0.13.0
func GetBranchNameLabel ¶ added in v0.26.0
func GetContainerBreakpointWidth ¶ added in v0.13.0
func GetCustomTheme ¶
func GetInfoMessage ¶ added in v0.13.0
func GetInitialCommandTheme ¶ added in v0.13.0
func GetListFooter ¶ added in v0.13.0
func GetListLine ¶ added in v0.13.0
func GetPropertyKey ¶ added in v0.13.0
func GetStyledMainTitle ¶ added in v0.13.0
func RenderBorderedMessage ¶ added in v0.13.0
func RenderBorderedMessage(message string)
func RenderContainerLayout ¶ added in v0.13.0
func RenderContainerLayout(output string)
func RenderCreationInfoMessage ¶ added in v0.13.0
func RenderCreationInfoMessage(message 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)
func RenderViewBuildLogsMessage ¶ added in v0.26.0
func RenderViewBuildLogsMessage(buildId string)
Types ¶
Click to show internal directories.
Click to hide internal directories.