feat(ui): Semantic tokens refactor (#8087)

This commit is contained in:
Miguel Solorio
2025-09-10 10:57:07 -07:00
committed by GitHub
parent a3a0e981ee
commit b9b6fe1f73
57 changed files with 509 additions and 424 deletions

View File

@@ -714,7 +714,11 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
<Box
borderStyle="round"
borderColor={
shellModeActive ? theme.status.warning : theme.border.focused
shellModeActive
? theme.status.warning
: focus
? theme.border.focused
: theme.border.default
}
paddingX={1}
>
@@ -797,7 +801,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
const color =
token.type === 'command' || token.type === 'file'
? theme.text.accent
: undefined;
: theme.text.primary;
renderedLine.push(
<Text key={`token-${tokenIdx}`} color={color}>