Skip to content

Commit

Permalink
Add color to header and field of help page
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy0M committed Feb 9, 2023
1 parent efcf1ec commit ff6ff6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/view/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,15 @@ func (h *Help) addSection(c int, title string, hh model.MenuHints) {
h.maxRows = len(hh)
}
row := 0
h.SetCell(row, c, h.titleCell(title))
h.SetCell(row, c, h.titleCell(title).SetTextColor(tcell.ColorSpringGreen))
h.addSpacer(c + 1)
row++

for _, hint := range hh {
col := c
h.SetCell(row, col, tview.NewTableCell(toMnemonic(hint.Mnemonic)))
h.SetCell(row, col, tview.NewTableCell(toMnemonic(hint.Mnemonic)).SetTextColor(tcell.ColorDodgerBlue))
col++
h.SetCell(row, col, tview.NewTableCell(hint.Description))
h.SetCell(row, col, tview.NewTableCell(hint.Description).SetTextColor(tcell.ColorPapayaWhip))
row++
}

Expand Down

0 comments on commit ff6ff6e

Please sign in to comment.