diff options
Diffstat (limited to 'packages/cli/src/ui/components/messages/ErrorMessage.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/messages/ErrorMessage.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/cli/src/ui/components/messages/ErrorMessage.tsx b/packages/cli/src/ui/components/messages/ErrorMessage.tsx index edbea435..bc249acf 100644 --- a/packages/cli/src/ui/components/messages/ErrorMessage.tsx +++ b/packages/cli/src/ui/components/messages/ErrorMessage.tsx @@ -6,7 +6,7 @@ import React from 'react'; import { Text, Box } from 'ink'; -import { Colors } from '../../colors.js'; +import { theme } from '../../semantic-colors.js'; interface ErrorMessageProps { text: string; @@ -19,10 +19,10 @@ export const ErrorMessage: React.FC<ErrorMessageProps> = ({ text }) => { return ( <Box flexDirection="row" marginBottom={1}> <Box width={prefixWidth}> - <Text color={Colors.AccentRed}>{prefix}</Text> + <Text color={theme.status.error}>{prefix}</Text> </Box> <Box flexGrow={1}> - <Text wrap="wrap" color={Colors.AccentRed}> + <Text wrap="wrap" color={theme.status.error}> {text} </Text> </Box> |
