diff options
| author | Jeff Carr <[email protected]> | 2024-02-01 11:37:46 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-01 11:37:46 -0600 |
| commit | 6fb1a5802ab574ad62261def50cae9cf677725ab (patch) | |
| tree | d15be13c9a2836c0626348ce8f8b638822268d8e /color.go | |
| parent | 11ebc775050f0dbd7efc15b4a12c8364caa6909a (diff) | |
set checkbox color
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'color.go')
| -rw-r--r-- | color.go | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -54,7 +54,6 @@ var colorActiveW colorT = colorT{none, none, powdererBlue, none, powdererBlue, " var colorTab colorT = colorT{gocui.ColorBlue, gocui.ColorBlue, none, none, powdererBlue, "normal tab"} var colorActiveT colorT = colorT{gocui.ColorBlue, none, powdererBlue, none, powdererBlue, "active tab"} -var colorButton colorT = colorT{gocui.ColorGreen, none, gocui.ColorWhite, gocui.ColorGreen, gocui.ColorBlack, "normal button"} var colorLabel colorT = colorT{none, none, superLightGrey, none, superLightGrey, "normal label"} var colorGroup colorT = colorT{none, none, superLightGrey, none, superLightGrey, "normal group"} @@ -67,6 +66,24 @@ var colorDisabled colorT = colorT{ name: "disabled widget", } +var colorButton colorT = colorT{ + frame: gocui.ColorGreen, + fg: none, + bg: gocui.ColorWhite, + selFg: gocui.ColorGreen, + selBg: gocui.ColorBlack, + name: "normal button", +} + +var colorCheckbox colorT = colorT{ + frame: gocui.ColorRed, + fg: none, + bg: gocui.ColorWhite, + selFg: gocui.ColorGreen, + selBg: gocui.ColorBlack, + name: "normal checkbox", +} + // widget debugging colors. these widgets aren't displayed unless you are debugging var colorRoot colorT = colorT{gocui.ColorRed, none, powdererBlue, none, gocui.ColorBlue, "debug root"} var colorFlag colorT = colorT{gocui.ColorRed, none, powdererBlue, none, gocui.ColorGreen, "debug flag"} |
