Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var GroupColors = map[string]lipgloss.Color{ "active": lipgloss.Color("11"), "completed": lipgloss.Color("238"), }
GroupColors maps workflow state group names to terminal colors. States belonging to a group not listed here render with the base style.
var TypeColors = map[string]lipgloss.Color{ "epic": lipgloss.Color("21"), "story": lipgloss.Color("33"), "task": lipgloss.Color("34"), "bug": lipgloss.Color("196"), }
TypeColors maps ticket type names to terminal colors.
Functions ¶
func StatusStyleFunc ¶
StatusStyleFunc returns a closure that maps a status string to a lipgloss style, derived from the state groups defined in the workflow. States not belonging to a group in GroupColors render with the base style.
func TypeStyle ¶
TypeStyle returns a lipgloss style for the given ticket type directly. Kept for use outside of renderTable (e.g. pm tree's formatNode).
func TypeStyleFunc ¶
TypeStyleFunc returns a closure that maps a ticket type string to a lipgloss style. Epics are rendered bold. Unknown types render with the base style.
Types ¶
This section is empty.