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/LoadingIndicator.tsx | |
| parent | 5246aa11f49108a22d4ba306a49b1af79153cac1 (diff) | |
Update semantic color tokens (#6253)
Co-authored-by: jacob314 <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/components/LoadingIndicator.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/LoadingIndicator.tsx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/packages/cli/src/ui/components/LoadingIndicator.tsx b/packages/cli/src/ui/components/LoadingIndicator.tsx index 7ac356dd..fc51a7ef 100644 --- a/packages/cli/src/ui/components/LoadingIndicator.tsx +++ b/packages/cli/src/ui/components/LoadingIndicator.tsx @@ -7,7 +7,7 @@ import { ThoughtSummary } from '@google/gemini-cli-core'; import React from 'react'; import { Box, Text } from 'ink'; -import { Colors } from '../colors.js'; +import { theme } from '../semantic-colors.js'; import { useStreamingContext } from '../contexts/StreamingContext.js'; import { StreamingState } from '../types.js'; import { GeminiRespondingSpinner } from './GeminiRespondingSpinner.js'; @@ -61,11 +61,9 @@ export const LoadingIndicator: React.FC<LoadingIndicatorProps> = ({ } /> </Box> - {primaryText && ( - <Text color={Colors.AccentPurple}>{primaryText}</Text> - )} + {primaryText && <Text color={theme.text.accent}>{primaryText}</Text>} {!isNarrow && cancelAndTimerContent && ( - <Text color={Colors.Gray}> {cancelAndTimerContent}</Text> + <Text color={theme.text.secondary}> {cancelAndTimerContent}</Text> )} </Box> {!isNarrow && <Box flexGrow={1}>{/* Spacer */}</Box>} @@ -73,7 +71,7 @@ export const LoadingIndicator: React.FC<LoadingIndicatorProps> = ({ </Box> {isNarrow && cancelAndTimerContent && ( <Box> - <Text color={Colors.Gray}>{cancelAndTimerContent}</Text> + <Text color={theme.text.secondary}>{cancelAndTimerContent}</Text> </Box> )} {isNarrow && rightContent && <Box>{rightContent}</Box>} |
