فهرست منبع

fix(tui): fix logo color

adamdotdevin 6 ماه پیش
والد
کامیت
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) {
 	t := theme.CurrentTheme()
 	effectiveWidth := a.width - 4
-	baseStyle := styles.NewStyle().Background(t.Background())
+	baseStyle := styles.NewStyle().Foreground(t.Text()).Background(t.Background())
 	base := baseStyle.Render
 	muted := styles.NewStyle().Foreground(t.TextMuted()).Background(t.Background()).Render