summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/AuthDialog.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/components/AuthDialog.tsx')
-rw-r--r--packages/cli/src/ui/components/AuthDialog.tsx22
1 files changed, 8 insertions, 14 deletions
diff --git a/packages/cli/src/ui/components/AuthDialog.tsx b/packages/cli/src/ui/components/AuthDialog.tsx
index b9215988..c353727c 100644
--- a/packages/cli/src/ui/components/AuthDialog.tsx
+++ b/packages/cli/src/ui/components/AuthDialog.tsx
@@ -6,7 +6,7 @@
import React, { useState } from 'react';
import { Box, Text } from 'ink';
-import { theme } from '../semantic-colors.js';
+import { Colors } from '../colors.js';
import { RadioButtonSelect } from './shared/RadioButtonSelect.js';
import { LoadedSettings, SettingScope } from '../../config/settings.js';
import { AuthType } from '@google/gemini-cli-core';
@@ -133,18 +133,14 @@ export function AuthDialog({
return (
<Box
borderStyle="round"
- borderColor={theme.border.default}
+ borderColor={Colors.Gray}
flexDirection="column"
padding={1}
width="100%"
>
- <Text bold color={theme.text.primary}>
- Get started
- </Text>
+ <Text bold>Get started</Text>
<Box marginTop={1}>
- <Text color={theme.text.primary}>
- How would you like to authenticate for this project?
- </Text>
+ <Text>How would you like to authenticate for this project?</Text>
</Box>
<Box marginTop={1}>
<RadioButtonSelect
@@ -155,19 +151,17 @@ export function AuthDialog({
</Box>
{errorMessage && (
<Box marginTop={1}>
- <Text color={theme.status.error}>{errorMessage}</Text>
+ <Text color={Colors.AccentRed}>{errorMessage}</Text>
</Box>
)}
<Box marginTop={1}>
- <Text color={theme.text.secondary}>(Use Enter to select)</Text>
+ <Text color={Colors.Gray}>(Use Enter to select)</Text>
</Box>
<Box marginTop={1}>
- <Text color={theme.text.primary}>
- Terms of Services and Privacy Notice for Gemini CLI
- </Text>
+ <Text>Terms of Services and Privacy Notice for Gemini CLI</Text>
</Box>
<Box marginTop={1}>
- <Text color={theme.text.link}>
+ <Text color={Colors.AccentBlue}>
{
'https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md'
}