mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-09 09:22:48 +03:00
Add unstagedChangesColor config option
This commit is contained in:
committed by
Jesse Duffield
parent
91dab7fef9
commit
f5a5b7f966
@@ -39,6 +39,8 @@ var (
|
||||
OptionsFgColor = style.New()
|
||||
|
||||
DiffTerminalColor = style.FgMagenta
|
||||
|
||||
UnstagedChangesColor = style.New()
|
||||
)
|
||||
|
||||
// UpdateTheme updates all theme variables
|
||||
@@ -52,6 +54,9 @@ func UpdateTheme(themeConfig config.ThemeConfig) {
|
||||
cherryPickedCommitFgTextStyle := GetTextStyle(themeConfig.CherryPickedCommitFgColor, false)
|
||||
CherryPickedCommitTextStyle = cherryPickedCommitBgTextStyle.MergeStyle(cherryPickedCommitFgTextStyle)
|
||||
|
||||
unstagedChangesTextStyle := GetTextStyle(themeConfig.UnstagedChangesColor, false)
|
||||
UnstagedChangesColor = unstagedChangesTextStyle
|
||||
|
||||
GocuiSelectedLineBgColor = GetGocuiStyle(themeConfig.SelectedLineBgColor)
|
||||
OptionsColor = GetGocuiStyle(themeConfig.OptionsTextColor)
|
||||
OptionsFgColor = GetTextStyle(themeConfig.OptionsTextColor, false)
|
||||
|
Reference in New Issue
Block a user