diff options
| author | Taylor Mullen <[email protected]> | 2025-04-19 12:38:09 -0400 |
|---|---|---|
| committer | N. Taylor Mullen <[email protected]> | 2025-04-19 17:10:06 -0400 |
| commit | f7edf711906ed8492fc65f3c1cfad1ccd7ede187 (patch) | |
| tree | fcf6e6152cdddfee91c12316cab906d5e31d0e75 /packages/cli/src/ui/components/LoadingIndicator.tsx | |
| parent | 3fce6cea27d3e6129d6c06e528b62e1b11bf7094 (diff) | |
Give Gemini Code a face lift.
- This utilizes `ink-gradient` to render GEMINI CODE in amazing colors.
- Added a shared color configuration for UX (should this be in config?). It's very possible that we shouldn't be talking about the specific colors and instead be mentioning "foreground"/"background"/inlineCode etc. type colors.
- Updated existing color usages to utilize `Colors.*`
Fixes https://b.corp.google.com/issues/411385593
Diffstat (limited to 'packages/cli/src/ui/components/LoadingIndicator.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/LoadingIndicator.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/cli/src/ui/components/LoadingIndicator.tsx b/packages/cli/src/ui/components/LoadingIndicator.tsx index be7f0fdd..ca5fb5de 100644 --- a/packages/cli/src/ui/components/LoadingIndicator.tsx +++ b/packages/cli/src/ui/components/LoadingIndicator.tsx @@ -7,6 +7,7 @@ import React from 'react'; import { Box, Text } from 'ink'; import Spinner from 'ink-spinner'; +import { Colors } from '../colors.js'; interface LoadingIndicatorProps { isLoading: boolean; @@ -28,11 +29,11 @@ export const LoadingIndicator: React.FC<LoadingIndicatorProps> = ({ <Box marginRight={1}> <Spinner type="dots" /> </Box> - <Text color="cyan"> + <Text color={Colors.AccentPurple}> {currentLoadingPhrase} ({elapsedTime}s) </Text> <Box flexGrow={1}>{/* Spacer */}</Box> - <Text color="gray">(ESC to cancel)</Text> + <Text color={Colors.SubtleComment}>(ESC to cancel)</Text> </Box> ); }; |
