mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-11 03:31:55 +00:00
fix(tui): honor skin highlight colors (#20895)
This commit is contained in:
parent
da6019820a
commit
f1a8e99942
5 changed files with 61 additions and 6 deletions
|
|
@ -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>
|
||||
)
|
||||
})}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue