Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgramContext ¶
type ProgramContext struct { RepoPath *string RepoUrl *string User string ScreenHeight int ScreenWidth int MainContentWidth int MainContentHeight int Config *config.Config ConfigPath string View config.ViewType Error error StartTask func(task Task) tea.Cmd Theme theme.Theme Styles Styles }
func (*ProgramContext) GetViewSectionsConfig ¶
func (ctx *ProgramContext) GetViewSectionsConfig() []config.SectionConfig
type Styles ¶
type Styles struct { Colors struct { OpenIssue lipgloss.AdaptiveColor ClosedIssue lipgloss.AdaptiveColor SuccessText lipgloss.AdaptiveColor OpenPR lipgloss.AdaptiveColor ClosedPR lipgloss.AdaptiveColor MergedPR lipgloss.AdaptiveColor } Common common.CommonStyles PrSidebar struct { PillStyle lipgloss.Style } Help struct { Text lipgloss.Style KeyText lipgloss.Style BubbleStyles bbHelp.Styles } CommentBox struct { Text lipgloss.Style } Pager struct { Height int Root lipgloss.Style } Section struct { ContainerPadding int ContainerStyle lipgloss.Style SpinnerStyle lipgloss.Style EmptyStateStyle lipgloss.Style KeyStyle lipgloss.Style } PrSection struct { CiCellWidth int LinesCellWidth int UpdatedAtCellWidth int PrRepoCellWidth int PrAuthorCellWidth int } Sidebar struct { BorderWidth int PagerHeight int ContentPadding int Root lipgloss.Style PagerStyle lipgloss.Style } ListViewPort struct { PagerStyle lipgloss.Style } Table struct { CellStyle lipgloss.Style SelectedCellStyle lipgloss.Style TitleCellStyle lipgloss.Style SingleRuneTitleCellStyle lipgloss.Style HeaderStyle lipgloss.Style RowStyle lipgloss.Style } Tabs struct { Tab lipgloss.Style ActiveTab lipgloss.Style TabSeparator lipgloss.Style TabsRow lipgloss.Style ViewSwitcher lipgloss.Style ActiveView lipgloss.Style ViewsSeparator lipgloss.Style InactiveView lipgloss.Style } }
func InitStyles ¶
Click to show internal directories.
Click to hide internal directories.