Documentation
¶
Index ¶
- Variables
- type CertField
- type HelpViewModel
- type Model
- type Pane
- type Theme
- func (t Theme) DocStyle() lipgloss.Style
- func (t Theme) ErrorModalWithWidth(width int) lipgloss.Style
- func (t Theme) Help(width int) lipgloss.Style
- func (t Theme) Key(width int) lipgloss.Style
- func (t Theme) Pane(selected bool, width, height int) lipgloss.Style
- func (t Theme) SectionHeader() lipgloss.Style
- func (t Theme) Value(width int) lipgloss.Style
- type ThemeProvider
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = Theme{ // contains filtered or unexported fields }
Functions ¶
This section is empty.
Types ¶
type HelpViewModel ¶
type HelpViewModel struct {
// contains filtered or unexported fields
}
func NewHelpViewModel ¶
func NewHelpViewModel(p Pane, tp ThemeProvider) HelpViewModel
func (*HelpViewModel) SetPane ¶
func (h *HelpViewModel) SetPane(p Pane)
func (*HelpViewModel) SetWidth ¶
func (h *HelpViewModel) SetWidth(width int)
func (HelpViewModel) View ¶
func (h HelpViewModel) View() string
type Theme ¶
type Theme struct {
// contains filtered or unexported fields
}
func (Theme) SectionHeader ¶
type ThemeProvider ¶
Click to show internal directories.
Click to hide internal directories.