allow customizing background color in staging mode

This commit is contained in:
Jesse Duffield 2020-02-23 11:57:12 +11:00
parent 6fc3290a05
commit fabdda0492
5 changed files with 78 additions and 37 deletions

View file

@ -120,7 +120,7 @@ func coloredString(colorAttr color.Attribute, str string, selected bool, include
var cl *color.Color
attributes := []color.Attribute{colorAttr}
if selected {
attributes = append(attributes, color.BgBlue)
attributes = append(attributes, theme.SelectedLineBgColor)
}
cl = color.New(attributes...)
var clIncluded *color.Color