diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-20 09:57:30 +0300 |
|---|---|---|
| committer | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-20 09:57:30 +0300 |
| commit | 20fefc87866ef29d6a7b8917ed1d2060a01d5b02 (patch) | |
| tree | 84dcf8eaa592c9501ac7d37d9903b4bab1e053c5 | |
| parent | 5d32fb6d89450fa387f9f4c51b561324075a4964 (diff) | |
style: match status line color to selection
| -rw-r--r-- | internal/ui/table.go | 6 |
1 files changed, 5 insertions, 1 deletions
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 { |
