diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-06-01 18:58:25 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-06-01 18:59:04 +1000 |
commit | 378c50cf307d9b2501b48b59c363e92e36a0344b (patch) | |
tree | 18b6ce029369d393b4d147d48ba1efe71e12c352 /pkg/theme | |
parent | 860fd23b421f3091f1b63ee50d1b77936b45d9c1 (diff) |
Set defaults colours to 'default', not 'white'
'white' is great on dark themes, and terrible on light themes.
Diffstat (limited to 'pkg/theme')
-rw-r--r-- | pkg/theme/theme.go | 8 |
1 files 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() |