From 42831b2cd321cc4682a00f3494f1579c2e19d0e9 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 6 Apr 2026 22:58:07 +0300 Subject: ui: improve ultra mode colors, separators, and navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Theme: SelectedBG changed from purple (57) to dark grey (238) so selected cards are clearly distinct from the status bar; priority badge colors switched to subtler dark variants (red/blue/green) - Ultra header: ID bold white, urgency amber, age dim, status grey; no background on unselected cards (pure black terminal background) - Priority badge: 3-char wide centred pill with white text - Annotations: italic and dimmer (244) vs description (253) - Card separator: full-width ─── line in dim grey (237) instead of a blank line, making task boundaries easier to scan - u key in ultra mode toggles back to table view (syncs cursor); from --ultra startup mode u is a no-op since there is no table to return to - q/esc from --ultra startup mode exits directly instead of dropping to the table view (ultraStartup flag tracks launch origin) Co-Authored-By: Claude Opus 4.6 --- internal/ui/theme.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'internal/ui/theme.go') diff --git a/internal/ui/theme.go b/internal/ui/theme.go index 9d81aab..ad02a83 100644 --- a/internal/ui/theme.go +++ b/internal/ui/theme.go @@ -26,20 +26,20 @@ type Theme struct { // DefaultTheme returns the color theme used by Task Samurai. func DefaultTheme() Theme { return Theme{ - HeaderFG: "205", - SelectedFG: "229", - SelectedBG: "57", + HeaderFG: "75", // steel blue — labels in ultra cards + SelectedFG: "255", // bright white — text on selected card + SelectedBG: "238", // dark grey — clean selection highlight on black background RowFG: "0", RowBG: "57", - StatusFG: "229", - StatusBG: "57", + StatusFG: "229", // light yellow + StatusBG: "57", // dark purple — status bar background StartBG: "6", OverdueBG: "1", - PrioLowBG: "10", - PrioMedBG: "12", - PrioHighBG: "9", - SearchFG: "21", - SearchBG: "226", + PrioLowBG: "28", // dark green — subtler than bright 10 + PrioMedBG: "33", // medium blue — subtler than bright 12 + PrioHighBG: "160", // dark red — subtler than bright 9 + SearchFG: "16", + SearchBG: "220", // amber — easier on eyes than pure yellow 226 } } -- cgit v1.2.3