From 6bcf651afdcf02dd79a9d6387ef1f9816ec6db29 Mon Sep 17 00:00:00 2001 From: marcusDenslow Date: Mon, 27 Apr 2026 10:40:41 +0200 Subject: [PATCH] fix: my last change was very wrong, i think i made it in my sleep. this should do the trick though --- pkg/tui/account_orders.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg/tui/account_orders.go b/pkg/tui/account_orders.go index 67d7d40..5f4632e 100644 --- a/pkg/tui/account_orders.go +++ b/pkg/tui/account_orders.go @@ -50,7 +50,10 @@ func (m Model) OrdersView(width int) string { // Shows order number + total on line 1, date + status on line 2. // Item details are shown in the detail view (viewState 2). func (m Model) buildOrderCard(order models.Order, boxWidth int, isSelected bool) string { - nameStyle := m.theme.TextAccent().Bold(true) + nameStyle := m.theme.TextAccent() + if isSelected { + nameStyle = nameStyle.Bold(true) + } // When selected, secondary text uses accent color so the whole card "lights up" dimStyle := m.theme.TextDim() @@ -90,7 +93,7 @@ func (m Model) buildOrderCard(order models.Order, boxWidth int, isSelected bool) PaddingLeft(1). Width(boxWidth) } else { - itemBox = m.theme.TextDim(). + itemBox = m.theme.Base(). Border(lipgloss.NormalBorder()). BorderForeground(m.theme.Border()). PaddingLeft(1).