diff options
| author | Jacob Richman <[email protected]> | 2025-08-15 20:18:31 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-16 03:18:31 +0000 |
| commit | 6c1373c33212e26521701acf73c0398721b3a881 (patch) | |
| tree | 6a00fb90c90b51a0c8285b21af7b174064ab6492 /packages/cli/src/ui/components/PrepareLabel.tsx | |
| parent | d57cc0b9306f0359482ef6e243308bcda2989007 (diff) | |
Revert "Update semantic color tokens" (#6365)
Diffstat (limited to 'packages/cli/src/ui/components/PrepareLabel.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/PrepareLabel.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/cli/src/ui/components/PrepareLabel.tsx b/packages/cli/src/ui/components/PrepareLabel.tsx index e255d386..652a77a6 100644 --- a/packages/cli/src/ui/components/PrepareLabel.tsx +++ b/packages/cli/src/ui/components/PrepareLabel.tsx @@ -6,7 +6,7 @@ import React from 'react'; import { Text } from 'ink'; -import { theme } from '../semantic-colors.js'; +import { Colors } from '../colors.js'; interface PrepareLabelProps { label: string; @@ -21,7 +21,7 @@ export const PrepareLabel: React.FC<PrepareLabelProps> = ({ matchedIndex, userInput, textColor, - highlightColor = theme.status.warning, + highlightColor = Colors.AccentYellow, }) => { if ( matchedIndex === undefined || @@ -37,7 +37,7 @@ export const PrepareLabel: React.FC<PrepareLabelProps> = ({ const end = label.slice(matchedIndex + userInput.length); return ( - <Text color={theme.text.primary}> + <Text> <Text color={textColor}>{start}</Text> <Text color="black" bold backgroundColor={highlightColor}> {match} |
