summaryrefslogtreecommitdiffhomepage
path: root/internal/tui/page
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-04-28 08:46:09 -0500
committeradamdottv <[email protected]>2025-04-30 07:46:34 -0500
commit61b605e724eb4cc50ab831534fcdd18e031d68eb (patch)
treeb15b074a8fed1931e179a8d3df08d05b753c7aa3 /internal/tui/page
parent61d9dc95111d2645a49816f6d9d6cc1014be1a22 (diff)
downloadopencode-61b605e724eb4cc50ab831534fcdd18e031d68eb.tar.gz
opencode-61b605e724eb4cc50ab831534fcdd18e031d68eb.zip
feat: themes
Diffstat (limited to 'internal/tui/page')
-rw-r--r--internal/tui/page/chat.go1
-rw-r--r--internal/tui/page/logs.go6
2 files changed, 3 insertions, 4 deletions
diff --git a/internal/tui/page/chat.go b/internal/tui/page/chat.go
index e801d73cb..62a5b9f4f 100644
--- a/internal/tui/page/chat.go
+++ b/internal/tui/page/chat.go
@@ -142,7 +142,6 @@ func NewChatPage(app *app.App) tea.Model {
chat.NewMessagesCmp(app),
layout.WithPadding(1, 1, 0, 1),
)
-
editorContainer := layout.NewContainer(
chat.NewEditorCmp(app),
layout.WithBorder(true, false, false, false),
diff --git a/internal/tui/page/logs.go b/internal/tui/page/logs.go
index a285e4041..9bd545287 100644
--- a/internal/tui/page/logs.go
+++ b/internal/tui/page/logs.go
@@ -42,7 +42,7 @@ func (p *logsPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
}
func (p *logsPage) View() string {
- style := styles.BaseStyle.Width(p.width).Height(p.height)
+ style := styles.BaseStyle().Width(p.width).Height(p.height)
return style.Render(lipgloss.JoinVertical(lipgloss.Top,
p.table.View(),
p.details.View(),
@@ -77,7 +77,7 @@ func (p *logsPage) Init() tea.Cmd {
func NewLogsPage() LogPage {
return &logsPage{
- table: layout.NewContainer(logs.NewLogsTable(), layout.WithBorderAll(), layout.WithBorderColor(styles.ForgroundDim)),
- details: layout.NewContainer(logs.NewLogsDetails(), layout.WithBorderAll(), layout.WithBorderColor(styles.ForgroundDim)),
+ table: layout.NewContainer(logs.NewLogsTable(), layout.WithBorderAll()),
+ details: layout.NewContainer(logs.NewLogsDetails(), layout.WithBorderAll()),
}
}