fix(tui): honor skin highlight colors (#20895)

This commit is contained in:
brooklyn! 2026-05-06 14:01:56 -07:00 committed by GitHub
parent da6019820a
commit f1a8e99942
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 61 additions and 6 deletions

View file

@ -182,7 +182,7 @@ export function FloatingOverlays({
return (
<Box
backgroundColor={active ? theme.color.completionCurrentBg : undefined}
backgroundColor={active ? theme.color.completionCurrentBg : theme.color.completionBg}
flexDirection="row"
key={`${start + i}:${item.text}:${item.display}:${item.meta ?? ''}`}
width="100%"
@ -191,7 +191,15 @@ export function FloatingOverlays({
{' '}
{item.display}
</Text>
{item.meta ? <Text color={theme.color.muted}> {item.meta}</Text> : null}
{item.meta ? (
<Text
backgroundColor={active ? theme.color.completionMetaCurrentBg : theme.color.completionMetaBg}
color={theme.color.muted}
>
{' '}
{item.meta}
</Text>
) : null}
</Box>
)
})}