From 2ea283ea74232e1d812f4f4da3156dace35a96a3 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 29 Feb 2024 19:18:00 -0600 Subject: keep colors super simple for xterm support --- color.go | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) (limited to 'color.go') 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", -- cgit v1.2.3