Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Color wraps termenv.ColorProfile.Color, which produces a termenv color // for use in termenv styling. Color func(string) te.Color = te.ColorProfile().Color // HasDarkBackground stores whether or not the terminal has a dark // background. HasDarkBackground = te.HasDarkBackground() )
View Source
var ( Indigo = NewColorPair("#7571F9", "#5A56E0") SubtleIndigo = NewColorPair("#514DC1", "#7D79F6") Cream = NewColorPair("#FFFDF5", "#FFFDF5") YellowGreen = NewColorPair("#ECFD65", "#04B575") Yellow = NewColorPair("#ECFD65", "#CCB12C") Fuschia = NewColorPair("#EE6FF8", "#EE6FF8") Green = NewColorPair("#04B575", "#04B575") Red = NewColorPair("#ED567A", "#FF4672") FaintRed = NewColorPair("#C74665", "#FF6F91") SpinnerColor = NewColorPair("#747373", "#8E8E8E") NoColor = NewColorPair("", "") )
Colors for dark and light backgrounds.
View Source
var Spinner = spinner.Dot
Functions ¶
func HelpView ¶
HelpView renders text intended to display at help text, often at the bottom of a view.
func KeyValueViewWithoutVerticalLine ¶
KeyValueViewWithoutVerticalLine renders key-value pairs without a vertical line.
func VerticalLine ¶
VerticalLine return a vertical line colored according to the given state.
Types ¶
Click to show internal directories.
Click to hide internal directories.