summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/AuthDialog.tsx
diff options
context:
space:
mode:
authorMiguel Solorio <[email protected]>2025-08-15 15:39:54 -0700
committerGitHub <[email protected]>2025-08-15 22:39:54 +0000
commit3c0af3654ac5491e79c6f9b55de5debf0e1e13c1 (patch)
tree51eabe9544038b06b0c0a78d31dfa25232de3754 /packages/cli/src/ui/components/AuthDialog.tsx
parent5246aa11f49108a22d4ba306a49b1af79153cac1 (diff)
Update semantic color tokens (#6253)
Co-authored-by: jacob314 <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/components/AuthDialog.tsx')
-rw-r--r--packages/cli/src/ui/components/AuthDialog.tsx22
1 files changed, 14 insertions, 8 deletions
diff --git a/packages/cli/src/ui/components/AuthDialog.tsx b/packages/cli/src/ui/components/AuthDialog.tsx
index c353727c..b9215988 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 { Colors } from '../colors.js';
+import { theme } from '../semantic-colors.js';
import { RadioButtonSelect } from './shared/RadioButtonSelect.js';
import { LoadedSettings, SettingScope } from '../../config/settings.js';
import { AuthType } from '@google/gemini-cli-core';
@@ -133,14 +133,18 @@ export function AuthDialog({
return (
<Box
borderStyle="round"
- borderColor={Colors.Gray}
+ borderColor={theme.border.default}
flexDirection="column"
padding={1}
width="100%"
>
- <Text bold>Get started</Text>
+ <Text bold color={theme.text.primary}>
+ Get started
+ </Text>
<Box marginTop={1}>
- <Text>How would you like to authenticate for this project?</Text>
+ <Text color={theme.text.primary}>
+ How would you like to authenticate for this project?
+ </Text>
</Box>
<Box marginTop={1}>
<RadioButtonSelect
@@ -151,17 +155,19 @@ export function AuthDialog({
</Box>
{errorMessage && (
<Box marginTop={1}>
- <Text color={Colors.AccentRed}>{errorMessage}</Text>
+ <Text color={theme.status.error}>{errorMessage}</Text>
</Box>
)}
<Box marginTop={1}>
- <Text color={Colors.Gray}>(Use Enter to select)</Text>
+ <Text color={theme.text.secondary}>(Use Enter to select)</Text>
</Box>
<Box marginTop={1}>
- <Text>Terms of Services and Privacy Notice for Gemini CLI</Text>
+ <Text color={theme.text.primary}>
+ Terms of Services and Privacy Notice for Gemini CLI
+ </Text>
</Box>
<Box marginTop={1}>
- <Text color={Colors.AccentBlue}>
+ <Text color={theme.text.link}>
{
'https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md'
}