diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-02-23 21:53:30 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-02-24 22:18:04 +1100 |
commit | 46be280c921994ba783b8c53232d118f0547ad14 (patch) | |
tree | 0f2e637414a54e2dd034081f0fce888346e31655 /pkg/theme | |
parent | 2a5763a77190a579ae3cb57926a0d907964fcccb (diff) |
support searching in side panels
For now we're just doing side panels, because it will take more work
to support this in the various main panel contexts
Diffstat (limited to 'pkg/theme')
-rw-r--r-- | pkg/theme/theme.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/theme/theme.go b/pkg/theme/theme.go index c5e49accd..04b49a555 100644 --- a/pkg/theme/theme.go +++ b/pkg/theme/theme.go @@ -23,6 +23,10 @@ var ( // SelectedLineBgColor is the background color for the selected line SelectedLineBgColor color.Attribute + + OptionsFgColor color.Attribute + + OptionsColor gocui.Attribute ) // UpdateTheme updates all theme variables @@ -30,6 +34,8 @@ 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")) + OptionsColor = GetGocuiColor(userConfig.GetStringSlice("gui.theme.optionsTextColor")) + OptionsFgColor = GetFgColor(userConfig.GetStringSlice("gui.theme.optionsTextColor")) isLightTheme := userConfig.GetBool("gui.theme.lightTheme") if isLightTheme { |