summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoradamdotdevin <[email protected]>2025-07-11 06:03:21 -0500
committeradamdotdevin <[email protected]>2025-07-11 06:03:21 -0500
commit04769d8a26e7d047d4dbde00ce089a4c69d9aff1 (patch)
treeec723c95f84a1b9a051a79a05db944583c243a32
parent34b576d9b5336969c618819fa96df3d4f3b290b3 (diff)
downloadopencode-04769d8a26e7d047d4dbde00ce089a4c69d9aff1.tar.gz
opencode-04769d8a26e7d047d4dbde00ce089a4c69d9aff1.zip
fix(tui): help commands bg color
-rw-r--r--packages/tui/internal/components/dialog/help.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/tui/internal/components/dialog/help.go b/packages/tui/internal/components/dialog/help.go
index 51adc3a1c..80123165a 100644
--- a/packages/tui/internal/components/dialog/help.go
+++ b/packages/tui/internal/components/dialog/help.go
@@ -49,7 +49,7 @@ func (h *helpDialog) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
func (h *helpDialog) View() string {
t := theme.CurrentTheme()
- h.commandsComponent.SetBackgroundColor(t.BackgroundElement())
+ h.commandsComponent.SetBackgroundColor(t.BackgroundPanel())
return h.viewport.View()
}
@@ -70,7 +70,7 @@ func NewHelpDialog(app *app.App) HelpDialog {
return &helpDialog{
app: app,
commandsComponent: commandsComponent.New(app,
- commandsComponent.WithBackground(theme.CurrentTheme().BackgroundElement()),
+ commandsComponent.WithBackground(theme.CurrentTheme().BackgroundPanel()),
commandsComponent.WithShowAll(true),
commandsComponent.WithKeybinds(true),
),