Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppColors = Colors{
Background: tcell.GetColor("#2E3440"),
Foreground: tcell.GetColor("#D8DEE9"),
Border: tcell.GetColor("#81A1C1"),
Title: tcell.GetColor("#88C0D0"),
Selected: tcell.GetColor("#3B4252"),
HeaderFg: tcell.GetColor("#ECEFF4"),
HeaderBg: tcell.GetColor("#4C566A"),
Running: tcell.GetColor("#A3BE8C"),
Stopped: tcell.GetColor("#BF616A"),
Pending: tcell.GetColor("#EBCB8B"),
Error: tcell.GetColor("#BF616A"),
Highlight: tcell.GetColor("#EBCB8B"),
Secondary: tcell.GetColor("#81A1C1"),
}
Global color scheme that uses Nord theme colors
Functions ¶
func InitializeColors ¶
func InitializeColors()
InitializeColors applies the application colors to tview components
Types ¶
type Colors ¶
type Colors struct {
// Basic colors
Background tcell.Color
Foreground tcell.Color
Border tcell.Color
Title tcell.Color
Selected tcell.Color
// UI element colors
HeaderFg tcell.Color
HeaderBg tcell.Color
// Status colors
Running tcell.Color
Stopped tcell.Color
Pending tcell.Color
Error tcell.Color
// Other colors
Highlight tcell.Color
Secondary tcell.Color
}
Colors represents the colors used in the application
Click to show internal directories.
Click to hide internal directories.