diff options
| author | Miguel Solorio <[email protected]> | 2025-08-15 15:39:54 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-15 22:39:54 +0000 |
| commit | 3c0af3654ac5491e79c6f9b55de5debf0e1e13c1 (patch) | |
| tree | 51eabe9544038b06b0c0a78d31dfa25232de3754 /packages/cli/src/ui/components/InputPrompt.tsx | |
| parent | 5246aa11f49108a22d4ba306a49b1af79153cac1 (diff) | |
Update semantic color tokens (#6253)
Co-authored-by: jacob314 <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/components/InputPrompt.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/InputPrompt.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx index dcfdace3..3a87b76e 100644 --- a/packages/cli/src/ui/components/InputPrompt.tsx +++ b/packages/cli/src/ui/components/InputPrompt.tsx @@ -559,7 +559,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({ <Box flexGrow={1} flexDirection="column"> {buffer.text.length === 0 && placeholder ? ( focus ? ( - <Text> + <Text color={theme.text.primary}> {chalk.inverse(placeholder.slice(0, 1))} <Text color={theme.text.secondary}>{placeholder.slice(1)}</Text> </Text> @@ -600,7 +600,12 @@ export const InputPrompt: React.FC<InputPromptProps> = ({ } } return ( - <Text key={`line-${visualIdxInRenderedSet}`}>{display}</Text> + <Text + key={`line-${visualIdxInRenderedSet}`} + color={theme.text.primary} + > + {display} + </Text> ); }) )} |
