summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/AuthDialog.tsx
diff options
context:
space:
mode:
authorJacob Richman <[email protected]>2025-08-15 20:18:31 -0700
committerGitHub <[email protected]>2025-08-16 03:18:31 +0000
commit6c1373c33212e26521701acf73c0398721b3a881 (patch)
tree6a00fb90c90b51a0c8285b21af7b174064ab6492 /packages/cli/src/ui/components/AuthDialog.tsx
parentd57cc0b9306f0359482ef6e243308bcda2989007 (diff)
Revert "Update semantic color tokens" (#6365)
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'
}