From b3bf15bc29adb0287e8ebf02302719d03dfb45aa Mon Sep 17 00:00:00 2001 From: raj Date: Thu, 26 Oct 2023 19:50:15 +0530 Subject: [PATCH] updated colors --- ui/table/main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/table/main.go b/ui/table/main.go index 777becb..1b3665c 100644 --- a/ui/table/main.go +++ b/ui/table/main.go @@ -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}