DOC: removes comments from constants
Removed comments from constants due that their names are already self descriptive.
This commit is contained in:
parent
7f47791c7b
commit
63a1a94fe7
|
@ -7,47 +7,29 @@ import (
|
||||||
ui "github.com/gizak/termui/v3"
|
ui "github.com/gizak/termui/v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Theme is a representation of a theme
|
|
||||||
type Theme string
|
type Theme string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// ThemeDark represents dark theme
|
ThemeDark Theme = "dark"
|
||||||
ThemeDark Theme = "dark"
|
|
||||||
// ThemeLight represents light theme
|
|
||||||
ThemeLight Theme = "light"
|
ThemeLight Theme = "light"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// ColorOlive represents color olive
|
ColorOlive ui.Color = 178
|
||||||
ColorOlive ui.Color = 178
|
|
||||||
// ColorDeepSkyBlue represents color deepsky blue
|
|
||||||
ColorDeepSkyBlue ui.Color = 39
|
ColorDeepSkyBlue ui.Color = 39
|
||||||
// ColorDeepPink represents color deep pink
|
ColorDeepPink ui.Color = 198
|
||||||
ColorDeepPink ui.Color = 198
|
ColorCian ui.Color = 43
|
||||||
// ColorCian represents color cyan
|
ColorOrange ui.Color = 166
|
||||||
ColorCian ui.Color = 43
|
ColorPurple ui.Color = 129
|
||||||
// ColorOrange represents color orange
|
ColorGreen ui.Color = 64
|
||||||
ColorOrange ui.Color = 166
|
ColorDarkRed ui.Color = 88
|
||||||
// ColorPurple represents color purple
|
ColorBlueViolet ui.Color = 57
|
||||||
ColorPurple ui.Color = 129
|
ColorDarkGrey ui.Color = 238
|
||||||
// ColorGreen represents color green
|
ColorLightGrey ui.Color = 254
|
||||||
ColorGreen ui.Color = 64
|
ColorGrey ui.Color = 242
|
||||||
// ColorDarkRed represents color dark red
|
ColorWhite ui.Color = 15
|
||||||
ColorDarkRed ui.Color = 88
|
ColorBlack ui.Color = 0
|
||||||
// ColorBlueViolet represents color blue violet
|
ColorClear ui.Color = -1
|
||||||
ColorBlueViolet ui.Color = 57
|
|
||||||
// ColorDarkGrey represents color dark grey
|
|
||||||
ColorDarkGrey ui.Color = 238
|
|
||||||
// ColorLightGrey represents color light grey
|
|
||||||
ColorLightGrey ui.Color = 254
|
|
||||||
// ColorGrey represents color grey
|
|
||||||
ColorGrey ui.Color = 242
|
|
||||||
// ColorWhite represents color white
|
|
||||||
ColorWhite ui.Color = 15
|
|
||||||
// ColorBlack represents color black
|
|
||||||
ColorBlack ui.Color = 0
|
|
||||||
// ColorClear represents color clear
|
|
||||||
ColorClear ui.Color = -1
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -57,7 +39,6 @@ const (
|
||||||
menuColorReverseWindows ui.Color = 0
|
menuColorReverseWindows ui.Color = 0
|
||||||
)
|
)
|
||||||
|
|
||||||
// Palette represents a color palette
|
|
||||||
type Palette struct {
|
type Palette struct {
|
||||||
ContentColors []ui.Color
|
ContentColors []ui.Color
|
||||||
GradientColors [][]ui.Color
|
GradientColors [][]ui.Color
|
||||||
|
|
Loading…
Reference in New Issue