summaryrefslogtreecommitdiff
path: root/internal/ui
diff options
context:
space:
mode:
authorPaul Bütow <1224732+snonux@users.noreply.github.com>2025-06-20 09:57:30 +0300
committerPaul Bütow <1224732+snonux@users.noreply.github.com>2025-06-20 09:57:30 +0300
commit20fefc87866ef29d6a7b8917ed1d2060a01d5b02 (patch)
tree84dcf8eaa592c9501ac7d37d9903b4bab1e053c5 /internal/ui
parent5d32fb6d89450fa387f9f4c51b561324075a4964 (diff)
style: match status line color to selection
Diffstat (limited to 'internal/ui')
-rw-r--r--internal/ui/table.go6
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 {