Documentation ¶
Overview ¶
Package colors provides definitions for ANSI colors to be used in terminal output.
Index ¶
- func Bold() termenv.Style
- func BoldCyan() termenv.Style
- func BoldGreen() termenv.Style
- func BoldRed() termenv.Style
- func BoldUnderline() termenv.Style
- func Cyan() termenv.Style
- func Faint() termenv.Style
- func FaintBold() termenv.Style
- func Green() termenv.Style
- func Red() termenv.Style
- type DialogColors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoldUnderline ¶
Types ¶
type DialogColors ¶
type DialogColors struct { EntryNumber termenv.Style // color for the number of entries Help termenv.Style // color of help text HelpKey termenv.Style // color of key names in help text Initial termenv.Style // color for the row containing the currently checked out branch Selection termenv.Style // color for the currently selected entry Title termenv.Style // color for the title of the current screen }
Typical colors used in BubbleTea dialogs.
func NewDialogColors ¶
func NewDialogColors() DialogColors
Click to show internal directories.
Click to hide internal directories.