summaryrefslogtreecommitdiff
path: root/internal/ui/theme.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-06 22:58:07 +0300
committerPaul Buetow <paul@buetow.org>2026-04-07 09:24:18 +0300
commit42831b2cd321cc4682a00f3494f1579c2e19d0e9 (patch)
tree9e72069f190639ec52b59d9378d8eb8fad1e5d10 /internal/ui/theme.go
parent2f7c0a0cb8c247b7ebda3b1873f2219105693818 (diff)
ui: improve ultra mode colors, separators, and navigation
- 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 <noreply@anthropic.com>
Diffstat (limited to 'internal/ui/theme.go')
-rw-r--r--internal/ui/theme.go20
1 files changed, 10 insertions, 10 deletions
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
}
}