diff --git a/packages/tui/src/ui/dialog-select.tsx b/packages/tui/src/ui/dialog-select.tsx index 6756bfa2666..c2d5c930b6b 100644 --- a/packages/tui/src/ui/dialog-select.tsx +++ b/packages/tui/src/ui/dialog-select.tsx @@ -837,8 +837,11 @@ function DialogSelectRow(props: { if (props.current && !newDesigns()) return theme.text.formfield.selected return theme.text.base }) - // Secondary text (description and footer) on the highlighted row. - const secondary = () => (newDesigns() ? theme.text.action.secondary.focused : text()) + // Secondary text (description and footer). + const secondary = () => { + if (!newDesigns()) return props.active ? text() : theme.text.muted + return props.active ? theme.text.action.secondary.focused : theme.text.faint + } const row = () => ( // A marker or gutter takes its cell plus the row gap out of the left padding, @@ -881,12 +884,12 @@ function DialogSelectRow(props: { ? Locale.truncateLeft(props.title, props.titleWidth ?? 61) : Locale.truncate(props.title, props.titleWidth ?? 61))} - {" " + props.description} + {" " + props.description} - {props.footer} + {props.footer}