tui: fix keybind text color in dialog select options

This commit is contained in:
Dax Raad 2025-09-24 04:23:35 -04:00
parent ae86b83fd9
commit 887a3336cc

View file

@ -202,7 +202,7 @@ function Option(props: {
<text fg={props.active ? Theme.background : Theme.textMuted}> {props.description}</text>
</box>
<Show when={props.keybind}>
<text fg={Theme.textMuted}>{keybind.print(props.keybind as any)}</text>
<text fg={props.active ? Theme.background : Theme.textMuted}>{keybind.print(props.keybind as any)}</text>
</Show>
</box>
)