Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BoldTextStyle = lipgloss.NewStyle().Bold(true) PrimaryTextStyle = lipgloss.NewStyle().Foreground( lipgloss.Color("28")) // green HintTextStyle = lipgloss.NewStyle().Foreground( lipgloss.Color("8")) // grey CodeTextStyle = lipgloss.NewStyle().Background(lipgloss.Color("130")).Foreground(lipgloss.Color("15")) )
View Source
var AppStyle = lipgloss.NewStyle().Padding(1, 2)
View Source
var Colors = map[string]string{
"softblack": "#1e1e1e",
"charcoal": "#252525",
"stone": "#5a5a5a",
"smoke": "#999999",
"sand": "#e1deda",
"cloud": "#f4efe9",
"offwhite": "#faf8f7",
"fern": "#38645a",
"sprout": "#5bb381",
"gold": "#ae8c57",
"bronze": "#89553d",
"coral": "#c15750",
"violet": "#6b5b9a",
}
Functions ¶
This section is empty.
Types ¶
type Styles ¶
type Styles struct { ActiveBorderColor lipgloss.Color InactiveBorderColor lipgloss.Color App lipgloss.Style ServerName lipgloss.Style TopLevelNormalTab lipgloss.Style TopLevelActiveTab lipgloss.Style TopLevelActiveTabDot lipgloss.Style MenuItem lipgloss.Style MenuLastUpdate lipgloss.Style RepoSelector struct { Normal struct { Base lipgloss.Style Title lipgloss.Style Desc lipgloss.Style Command lipgloss.Style Updated lipgloss.Style } Active struct { Base lipgloss.Style Title lipgloss.Style Desc lipgloss.Style Command lipgloss.Style Updated lipgloss.Style } } Repo struct { Base lipgloss.Style Title lipgloss.Style Command lipgloss.Style Body lipgloss.Style Header lipgloss.Style HeaderName lipgloss.Style HeaderDesc lipgloss.Style } Branch lipgloss.Style HelpKey lipgloss.Style HelpValue lipgloss.Style HelpDivider lipgloss.Style URLStyle lipgloss.Style Error lipgloss.Style ErrorTitle lipgloss.Style ErrorBody lipgloss.Style AboutNoReadme lipgloss.Style LogItem struct { Normal struct { Base lipgloss.Style Hash lipgloss.Style Title lipgloss.Style Desc lipgloss.Style Keyword lipgloss.Style } Active struct { Base lipgloss.Style Hash lipgloss.Style Title lipgloss.Style Desc lipgloss.Style Keyword lipgloss.Style } } Log struct { Commit lipgloss.Style CommitHash lipgloss.Style CommitAuthor lipgloss.Style CommitDate lipgloss.Style CommitBody lipgloss.Style CommitStatsAdd lipgloss.Style CommitStatsDel lipgloss.Style Paginator lipgloss.Style } Ref struct { Normal struct { Item lipgloss.Style ItemTag lipgloss.Style } Active struct { Item lipgloss.Style ItemTag lipgloss.Style } ItemSelector lipgloss.Style ItemBranch lipgloss.Style Paginator lipgloss.Style } Tree struct { Normal struct { FileName lipgloss.Style FileDir lipgloss.Style FileMode lipgloss.Style FileSize lipgloss.Style } Active struct { FileName lipgloss.Style FileDir lipgloss.Style FileMode lipgloss.Style FileSize lipgloss.Style } Selector lipgloss.Style FileContent lipgloss.Style Paginator lipgloss.Style NoItems lipgloss.Style } Spinner lipgloss.Style CodeNoContent lipgloss.Style StatusBar lipgloss.Style StatusBarKey lipgloss.Style StatusBarValue lipgloss.Style StatusBarInfo lipgloss.Style StatusBarBranch lipgloss.Style StatusBarHelp lipgloss.Style Tabs lipgloss.Style TabInactive lipgloss.Style TabActive lipgloss.Style TabSeparator lipgloss.Style }
Styles defines styles for the UI.
Click to show internal directories.
Click to hide internal directories.