mirror of https://github.com/xrehpicx/pee.git
updated colors
This commit is contained in:
parent
0f3dfb20cc
commit
b3bf15bc29
|
@ -92,15 +92,19 @@ func Table(columns []table.Column, rows []table.Row) (table.Row, string) {
|
||||||
)
|
)
|
||||||
|
|
||||||
s := table.DefaultStyles()
|
s := table.DefaultStyles()
|
||||||
|
|
||||||
|
// rounded borders
|
||||||
s.Header = s.Header.
|
s.Header = s.Header.
|
||||||
BorderStyle(lipgloss.NormalBorder()).
|
BorderStyle(lipgloss.NormalBorder()).
|
||||||
BorderForeground(lipgloss.Color("240")).
|
BorderForeground(lipgloss.Color("240")).
|
||||||
BorderBottom(true).
|
BorderBottom(true).
|
||||||
Bold(false)
|
Bold(false)
|
||||||
|
|
||||||
s.Selected = s.Selected.
|
s.Selected = s.Selected.
|
||||||
Foreground(lipgloss.Color("229")).
|
Foreground(lipgloss.Color("229")).
|
||||||
Background(lipgloss.Color("57")).
|
Background(lipgloss.Color("240")).
|
||||||
Bold(false)
|
Bold(false)
|
||||||
|
|
||||||
t.SetStyles(s)
|
t.SetStyles(s)
|
||||||
|
|
||||||
m := model{t, "", help.New(), keys}
|
m := model{t, "", help.New(), keys}
|
||||||
|
|
Loading…
Reference in New Issue