From 20fefc87866ef29d6a7b8917ed1d2060a01d5b02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= <1224732+snonux@users.noreply.github.com> Date: Fri, 20 Jun 2025 09:57:30 +0300 Subject: style: match status line color to selection --- internal/ui/table.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'internal/ui/table.go') diff --git a/internal/ui/table.go b/internal/ui/table.go index bd61525..fb83aca 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -162,7 +162,11 @@ func (m Model) View() string { } func (m Model) statusLine() string { - return fmt.Sprintf("Total:%d InProgress:%d Due:%d", m.total, m.inProgress, m.due) + status := fmt.Sprintf("Total:%d InProgress:%d Due:%d", m.total, m.inProgress, m.due) + return lipgloss.NewStyle(). + Foreground(lipgloss.Color("229")). + Background(lipgloss.Color("57")). + Render(status) } func taskToRow(t task.Task) atable.Row { -- cgit v1.2.3