fix(tui): use the action disabled token for inactive key hints (#55452)

This commit is contained in:
James Long
2026-10-14 11:28:46 -04:00
committed by GitHub
Unverified
parent c0d41d2b26
commit b474b84259
2 changed files with 4 additions and 4 deletions
@@ -98,7 +98,7 @@ export function PromptFooter(props: {
</Match>
<Match when={props.showDetails && layout().shortcuts}>
<text
fg={interactive() ? props.context.theme.text.base : props.context.theme.text.formfield.disabled}
fg={interactive() ? props.context.theme.text.base : props.context.theme.text.action.primary.disabled}
attributes={interactive() ? 0 : TextAttributes.DIM}
flexShrink={0}
>
@@ -109,7 +109,7 @@ export function PromptFooter(props: {
</Switch>
<Show when={props.showDetails && layout().shortcuts}>
<text
fg={interactive() ? props.context.theme.text.base : props.context.theme.text.formfield.disabled}
fg={interactive() ? props.context.theme.text.base : props.context.theme.text.action.primary.disabled}
attributes={interactive() ? 0 : TextAttributes.DIM}
wrapMode="none"
flexShrink={0}
@@ -809,7 +809,7 @@ export function DiffViewerContent(props: {
{(shortcut) => (
<text
id="diff-help-shortcut"
fg={props.muted ? theme.text.formfield.disabled : theme.text.base}
fg={props.muted ? theme.text.action.primary.disabled : theme.text.base}
attributes={props.muted ? TextAttributes.DIM : 0}
selectable={false}
flexShrink={0}
@@ -1111,7 +1111,7 @@ export function DiffViewerContent(props: {
/>
<box height={1} flexShrink={0} flexDirection="row" paddingLeft={2} paddingRight={2}>
<text
fg={props.panel?.focused ? theme.background.action.primary.focused : theme.text.formfield.disabled}
fg={props.panel?.focused ? theme.background.action.primary.focused : theme.text.action.primary.disabled}
attributes={props.panel?.focused ? 0 : TextAttributes.DIM}
flexGrow={1}
minWidth={0}