Update semantic color tokens (#6253)

Co-authored-by: jacob314 <jacob314@gmail.com>
This commit is contained in:
Miguel Solorio
2025-08-15 15:39:54 -07:00
committed by GitHub
parent 5246aa11f4
commit 3c0af3654a
60 changed files with 606 additions and 502 deletions
@@ -9,7 +9,7 @@ import { RadioButtonSelect } from '../components/shared/RadioButtonSelect.js';
import { usePrivacySettings } from '../hooks/usePrivacySettings.js';
import { CloudPaidPrivacyNotice } from './CloudPaidPrivacyNotice.js';
import { Config } from '@google/gemini-cli-core';
import { Colors } from '../colors.js';
import { theme } from '../semantic-colors.js';
import { useKeypress } from '../hooks/useKeypress.js';
interface CloudFreePrivacyNoticeProps {
@@ -34,16 +34,16 @@ export const CloudFreePrivacyNotice = ({
);
if (privacyState.isLoading) {
return <Text color={Colors.Gray}>Loading...</Text>;
return <Text color={theme.text.secondary}>Loading...</Text>;
}
if (privacyState.error) {
return (
<Box flexDirection="column" marginY={1}>
<Text color={Colors.AccentRed}>
<Text color={theme.status.error}>
Error loading Opt-in settings: {privacyState.error}
</Text>
<Text color={Colors.Gray}>Press Esc to exit.</Text>
<Text color={theme.text.secondary}>Press Esc to exit.</Text>
</Box>
);
}
@@ -59,17 +59,17 @@ export const CloudFreePrivacyNotice = ({
return (
<Box flexDirection="column" marginY={1}>
<Text bold color={Colors.AccentPurple}>
<Text bold color={theme.text.accent}>
Gemini Code Assist for Individuals Privacy Notice
</Text>
<Newline />
<Text>
<Text color={theme.text.primary}>
This notice and our Privacy Policy
<Text color={Colors.AccentBlue}>[1]</Text> describe how Gemini Code
Assist handles your data. Please read them carefully.
<Text color={theme.text.link}>[1]</Text> describe how Gemini Code Assist
handles your data. Please read them carefully.
</Text>
<Newline />
<Text>
<Text color={theme.text.primary}>
When you use Gemini Code Assist for individuals with Gemini CLI, Google
collects your prompts, related code, generated output, code edits,
related feature usage information, and your feedback to provide,
@@ -77,7 +77,7 @@ export const CloudFreePrivacyNotice = ({
technologies.
</Text>
<Newline />
<Text>
<Text color={theme.text.primary}>
To help with quality and improve our products (such as generative
machine-learning models), human reviewers may read, annotate, and
process the data collected above. We take steps to protect your privacy
@@ -90,7 +90,7 @@ export const CloudFreePrivacyNotice = ({
</Text>
<Newline />
<Box flexDirection="column">
<Text>
<Text color={theme.text.primary}>
Allow Google to use this data to develop and improve our products?
</Text>
<RadioButtonSelect
@@ -106,12 +106,14 @@ export const CloudFreePrivacyNotice = ({
/>
</Box>
<Newline />
<Text>
<Text color={Colors.AccentBlue}>[1]</Text>{' '}
<Text color={theme.text.primary}>
<Text color={theme.text.link}>[1]</Text>{' '}
https://policies.google.com/privacy
</Text>
<Newline />
<Text color={Colors.Gray}>Press Enter to choose an option and exit.</Text>
<Text color={theme.text.secondary}>
Press Enter to choose an option and exit.
</Text>
</Box>
);
};