diff options
| author | Jacob Richman <[email protected]> | 2025-08-15 20:18:31 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-16 03:18:31 +0000 |
| commit | 6c1373c33212e26521701acf73c0398721b3a881 (patch) | |
| tree | 6a00fb90c90b51a0c8285b21af7b174064ab6492 /packages/cli/src/ui/components/FolderTrustDialog.tsx | |
| parent | d57cc0b9306f0359482ef6e243308bcda2989007 (diff) | |
Revert "Update semantic color tokens" (#6365)
Diffstat (limited to 'packages/cli/src/ui/components/FolderTrustDialog.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/FolderTrustDialog.tsx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/packages/cli/src/ui/components/FolderTrustDialog.tsx b/packages/cli/src/ui/components/FolderTrustDialog.tsx index 987b92e9..30f3ff52 100644 --- a/packages/cli/src/ui/components/FolderTrustDialog.tsx +++ b/packages/cli/src/ui/components/FolderTrustDialog.tsx @@ -6,7 +6,7 @@ import { Box, Text } from 'ink'; import React from 'react'; -import { theme } from '../semantic-colors.js'; +import { Colors } from '../colors.js'; import { RadioButtonSelect, RadioSelectItem, @@ -54,16 +54,14 @@ export const FolderTrustDialog: React.FC<FolderTrustDialogProps> = ({ <Box flexDirection="column" borderStyle="round" - borderColor={theme.status.warning} + borderColor={Colors.AccentYellow} padding={1} width="100%" marginLeft={1} > <Box flexDirection="column" marginBottom={1}> - <Text bold color={theme.text.primary}> - Do you trust this folder? - </Text> - <Text color={theme.text.primary}> + <Text bold>Do you trust this folder?</Text> + <Text> Trusting a folder allows Gemini to execute commands it suggests. This is a security feature to prevent accidental execution in untrusted directories. |
