diff options
Diffstat (limited to 'packages/cli/src/ui/components/AuthInProgress.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/AuthInProgress.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/cli/src/ui/components/AuthInProgress.tsx b/packages/cli/src/ui/components/AuthInProgress.tsx index 53377c7c..81f98ad5 100644 --- a/packages/cli/src/ui/components/AuthInProgress.tsx +++ b/packages/cli/src/ui/components/AuthInProgress.tsx @@ -7,7 +7,7 @@ import React, { useState, useEffect } from 'react'; import { Box, Text } from 'ink'; import Spinner from 'ink-spinner'; -import { Colors } from '../colors.js'; +import { theme } from '../semantic-colors.js'; import { useKeypress } from '../hooks/useKeypress.js'; interface AuthInProgressProps { @@ -40,18 +40,18 @@ export function AuthInProgress({ return ( <Box borderStyle="round" - borderColor={Colors.Gray} + borderColor={theme.border.default} flexDirection="column" padding={1} width="100%" > {timedOut ? ( - <Text color={Colors.AccentRed}> + <Text color={theme.status.error}> Authentication timed out. Please try again. </Text> ) : ( <Box> - <Text> + <Text color={theme.text.primary}> <Spinner type="dots" /> Waiting for auth... (Press ESC or CTRL+C to cancel) </Text> |
