updated colors

This commit is contained in:
raj 2023-10-26 19:50:15 +05:30
parent 0f3dfb20cc
commit b3bf15bc29
1 changed files with 5 additions and 1 deletions

View File

@ -92,15 +92,19 @@ func Table(columns []table.Column, rows []table.Row) (table.Row, string) {
)
s := table.DefaultStyles()
// rounded borders
s.Header = s.Header.
BorderStyle(lipgloss.NormalBorder()).
BorderForeground(lipgloss.Color("240")).
BorderBottom(true).
Bold(false)
s.Selected = s.Selected.
Foreground(lipgloss.Color("229")).
Background(lipgloss.Color("57")).
Background(lipgloss.Color("240")).
Bold(false)
t.SetStyles(s)
m := model{t, "", help.New(), keys}