summaryrefslogtreecommitdiffstats
path: root/pkg/theme/theme.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/theme/theme.go')
-rw-r--r--pkg/theme/theme.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/theme/theme.go b/pkg/theme/theme.go
index ccb6bef08..259edfe04 100644
--- a/pkg/theme/theme.go
+++ b/pkg/theme/theme.go
@@ -24,6 +24,9 @@ var (
// SelectedLineBgColor is the background color for the selected line
SelectedLineBgColor color.Attribute
+ // GocuiSelectedLineBgColor is the background color for the selected line in gocui
+ GocuiSelectedLineBgColor gocui.Attribute
+
OptionsFgColor color.Attribute
OptionsColor gocui.Attribute
@@ -36,6 +39,7 @@ func UpdateTheme(userConfig *viper.Viper) {
ActiveBorderColor = GetGocuiColor(userConfig.GetStringSlice("gui.theme.activeBorderColor"))
InactiveBorderColor = GetGocuiColor(userConfig.GetStringSlice("gui.theme.inactiveBorderColor"))
SelectedLineBgColor = GetBgColor(userConfig.GetStringSlice("gui.theme.selectedLineBgColor"))
+ GocuiSelectedLineBgColor = GetGocuiColor(userConfig.GetStringSlice("gui.theme.selectedLineBgColor"))
OptionsColor = GetGocuiColor(userConfig.GetStringSlice("gui.theme.optionsTextColor"))
OptionsFgColor = GetFgColor(userConfig.GetStringSlice("gui.theme.optionsTextColor"))