adamdotdevin 6 месяцев назад
Родитель
Сommit
f1684c9e15
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/tui/internal/tui/tui.go

+ 1 - 1
packages/tui/internal/tui/tui.go

@@ -915,7 +915,7 @@ func (a Model) Cleanup() {
 func (a Model) home() (string, int, int) {
 func (a Model) home() (string, int, int) {
 	t := theme.CurrentTheme()
 	t := theme.CurrentTheme()
 	effectiveWidth := a.width - 4
 	effectiveWidth := a.width - 4
-	baseStyle := styles.NewStyle().Background(t.Background())
+	baseStyle := styles.NewStyle().Foreground(t.Text()).Background(t.Background())
 	base := baseStyle.Render
 	base := baseStyle.Render
 	muted := styles.NewStyle().Foreground(t.TextMuted()).Background(t.Background()).Render
 	muted := styles.NewStyle().Foreground(t.TextMuted()).Background(t.Background()).Render