summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/messages/ErrorMessage.tsx
diff options
context:
space:
mode:
authorMiguel Solorio <[email protected]>2025-08-15 15:39:54 -0700
committerGitHub <[email protected]>2025-08-15 22:39:54 +0000
commit3c0af3654ac5491e79c6f9b55de5debf0e1e13c1 (patch)
tree51eabe9544038b06b0c0a78d31dfa25232de3754 /packages/cli/src/ui/components/messages/ErrorMessage.tsx
parent5246aa11f49108a22d4ba306a49b1af79153cac1 (diff)
Update semantic color tokens (#6253)
Co-authored-by: jacob314 <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/components/messages/ErrorMessage.tsx')
-rw-r--r--packages/cli/src/ui/components/messages/ErrorMessage.tsx6
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>