From 378c50cf307d9b2501b48b59c363e92e36a0344b Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Thu, 1 Jun 2023 18:58:25 +1000 Subject: [PATCH] Set defaults colours to 'default', not 'white' 'white' is great on dark themes, and terrible on light themes. --- pkg/theme/theme.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/theme/theme.go b/pkg/theme/theme.go index 62df8b50d..bb6ab43de 100644 --- a/pkg/theme/theme.go +++ b/pkg/theme/theme.go @@ -7,8 +7,11 @@ import ( ) var ( + // DefaultTextColor is the default text color + DefaultTextColor = style.FgDefault + // GocuiDefaultTextColor does the same as DefaultTextColor but this one only colors gocui default text colors - GocuiDefaultTextColor gocui.Attribute + GocuiDefaultTextColor = gocui.ColorDefault // ActiveBorderColor is the border color of the active frame ActiveBorderColor gocui.Attribute @@ -21,9 +24,6 @@ var ( OptionsColor gocui.Attribute - // DefaultTextColor is the default text color - DefaultTextColor = style.FgWhite - // SelectedLineBgColor is the background color for the selected line SelectedLineBgColor = style.New()