fix(tui): help commands bg color

This commit is contained in:
adamdotdevin 2025-07-11 06:03:21 -05:00
parent 34b576d9b5
commit 04769d8a26
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75

View file

@ -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),
),