summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-29 19:18:00 -0600
committerJeff Carr <[email protected]>2024-02-29 19:18:00 -0600
commit2ea283ea74232e1d812f4f4da3156dace35a96a3 (patch)
treed05df870d1a22d9d3812020a1f97f0e382135e29
parent052bbb4fa6bfe26e885a8f4513a9f9ee0d40e593 (diff)
keep colors super simple for xterm supportv0.22.0v0.21.1
-rw-r--r--color.go36
1 files changed, 27 insertions, 9 deletions
diff --git a/color.go b/color.go
index 2d0631a..c647588 100644
--- a/color.go
+++ b/color.go
@@ -54,8 +54,8 @@ 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 colorLabel colorT = colorT{none, none, superLightGrey, none, superLightGrey, "normal label"}
-var colorGroup colorT = colorT{none, none, superLightGrey, none, superLightGrey, "normal group"}
+// var colorLabel colorT = colorT{none, none, superLightGrey, none, superLightGrey, "normal label"}
+// var colorGroup colorT = colorT{none, none, superLightGrey, none, superLightGrey, "normal group"}
var colorDisabled colorT = colorT{
frame: superLightGrey,
@@ -66,37 +66,55 @@ var colorDisabled colorT = colorT{
name: "disabled widget",
}
+var colorLabel colorT = colorT{
+ frame: gocui.ColorWhite,
+ fg: none,
+ bg: none,
+ selFg: gocui.ColorWhite,
+ selBg: none,
+ name: "normal label",
+}
+
+var colorGroup colorT = colorT{
+ frame: none,
+ fg: none,
+ bg: none,
+ selFg: gocui.ColorWhite,
+ selBg: none,
+ name: "normal label",
+}
+
var colorButton colorT = colorT{
frame: gocui.ColorGreen,
fg: none,
- bg: gocui.ColorWhite,
+ bg: none,
selFg: gocui.ColorGreen,
- selBg: gocui.ColorBlack,
+ selBg: none,
name: "normal button",
}
var colorDropdown colorT = colorT{
frame: gocui.ColorYellow,
fg: none,
- bg: gocui.ColorWhite,
+ bg: none,
selFg: gocui.ColorYellow,
selBg: gocui.ColorBlack,
- name: "normal button",
+ name: "normal dropdown",
}
var colorCombobox colorT = colorT{
frame: gocui.ColorBlue,
fg: none,
- bg: gocui.ColorWhite,
+ bg: none,
selFg: gocui.ColorBlue,
selBg: gocui.ColorBlack,
- name: "normal button",
+ name: "normal combobox",
}
var colorCheckbox colorT = colorT{
frame: gocui.ColorRed,
fg: none,
- bg: gocui.ColorWhite,
+ bg: none,
selFg: gocui.ColorRed,
selBg: gocui.ColorBlack,
name: "normal checkbox",