Skip to content

The open source coding agent.

TypeScript

chore: tui style tweaks

adamdottv8c32cfe82994
diff --git a/packages/tui/internal/components/chat/editor.go b/packages/tui/internal/components/chat/editor.go
index 154d3c3705f..3c51824c7ef 100644
--- a/packages/tui/internal/components/chat/editor.go
+++ b/packages/tui/internal/components/chat/editor.go
@@ -115,7 +115,7 @@ func (m *editorComponent) View() string {
PaddingBottom(1).
Background(t.BackgroundElement()).
Border(lipgloss.ThickBorder(), false, true).
- BorderForeground(t.BackgroundSubtle()).
+ BorderForeground(t.BackgroundElement()).
BorderBackground(t.Background()).
Render(textarea)
diff --git a/packages/tui/internal/components/chat/messages.go b/packages/tui/internal/components/chat/messages.go
index 3016c24d9a3..29295dfa998 100644
--- a/packages/tui/internal/components/chat/messages.go
+++ b/packages/tui/internal/components/chat/messages.go
@@ -266,7 +266,7 @@ func (m *messagesComponent) header() string {
BorderLeft(true).
BorderRight(true).
BorderBackground(t.Background()).
- BorderForeground(t.BackgroundSubtle()).
+ BorderForeground(t.BackgroundElement()).
BorderStyle(lipgloss.ThickBorder()).
Render(header)