diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-05-13 21:10:00 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-05-13 21:24:25 +1000 |
commit | 267730bc0059eacd0327eebbaa3b9efd04ee8464 (patch) | |
tree | 33be8d44df0ad19ff38c5a8a266b761be7737cbd /pkg/theme | |
parent | d5db02a899540661162ca3b816cd559ff577fff2 (diff) |
standardise how we handle background coloursv0.20.3
Diffstat (limited to 'pkg/theme')
-rw-r--r-- | pkg/theme/theme.go | 4 |
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")) |