diff options
Diffstat (limited to 'pkg/theme/style.go')
-rw-r--r-- | pkg/theme/style.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/theme/style.go b/pkg/theme/style.go index 8f607256d..69c404e3b 100644 --- a/pkg/theme/style.go +++ b/pkg/theme/style.go @@ -6,8 +6,6 @@ import ( "github.com/jesseduffield/lazygit/pkg/utils" ) -var colorMap = style.ColorMap - func GetTextStyle(keys []string, background bool) style.TextStyle { s := style.New() @@ -20,7 +18,7 @@ func GetTextStyle(keys []string, background bool) style.TextStyle { case "underline": s = s.SetUnderline() default: - value, present := colorMap[key] + value, present := style.ColorMap[key] if present { var c style.TextStyle if background { |