Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Application general colors TitleStyle = lipgloss.NewStyle(). Bold(true). Italic(true). Align(lipgloss.Center). Foreground(lipgloss.Color("#00FFA2")) ErrorStyle = TitleStyle.Copy(). Italic(false). Align(lipgloss.Left). Foreground(lipgloss.Color("#FF0000")) AlertStyle = ErrorStyle.Copy(). Foreground(lipgloss.Color("#FFA500")) // Status bar colors StatusBarForegroundSuccessStyle = lipgloss.AdaptiveColor{Dark: "#ffffff", Light: "#ffffff"} StatusBarBackgroundSuccessStyle = lipgloss.AdaptiveColor{Light: "#178009", Dark: "#178009"} StatusBarForegroundErrorStyle = lipgloss.AdaptiveColor{Dark: "#ffffff", Light: "#ffffff"} StatusBarBackgroundErrorStyle = lipgloss.AdaptiveColor{Light: "#FF0000", Dark: "#FF0000"} DefaultStatusBarStyle = statusbar.ColorConfig{ Foreground: lipgloss.AdaptiveColor{Light: "#ffffff", Dark: "#ffffff"}, Background: lipgloss.AdaptiveColor{Light: "#3c3836", Dark: "#3c3836"}, } // List colors TitleListStyle = lipgloss.NewStyle(). Foreground(lipgloss.AdaptiveColor{Light: "#1a1a1a", Dark: "#969696"}). Padding(0, 0, 0, 2) DescListStyle = TitleListStyle.Copy().Foreground(lipgloss.AdaptiveColor{Light: "#A49FA5", Dark: "#969696"}) TitleListSelected = lipgloss.NewStyle(). Border(lipgloss.NormalBorder(), false, false, false, true). BorderForeground(lipgloss.AdaptiveColor{Light: "#FFFFFF", Dark: "#FFFFFF"}). Foreground(lipgloss.AdaptiveColor{Light: "#00FFA2", Dark: "#00FFA2"}). Padding(0, 0, 0, 1) DescListSelected = TitleListSelected.Copy(). Foreground(lipgloss.AdaptiveColor{Light: "#c8ded6", Dark: "#c8ded6"}) ListStyle = lipgloss.NewStyle().Margin(1, 2) // Input colors NoStyle = lipgloss.NewStyle() FocusedStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#00FFA2")) )
View Source
var ( Choices = []choice{ {/* contains filtered or unexported fields */}, {/* contains filtered or unexported fields */}, } )
Functions ¶
func CreateInputs ¶
CreateInputs creates two text inputs for the repository name and if it's private
func SearchInputs ¶
SearchInputs creates two text inputs for the username and repository
Types ¶
type CustomList ¶
type CustomList struct { Choices []choice Cursor int }
func (*CustomList) CursorDown ¶
func (l *CustomList) CursorDown()
func (*CustomList) CursorUp ¶
func (l *CustomList) CursorUp()
func (*CustomList) View ¶
func (l *CustomList) View() string
Click to show internal directories.
Click to hide internal directories.