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/EditorSettingsDialog.tsx | |
| parent | d57cc0b9306f0359482ef6e243308bcda2989007 (diff) | |
Revert "Update semantic color tokens" (#6365)
Diffstat (limited to 'packages/cli/src/ui/components/EditorSettingsDialog.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/EditorSettingsDialog.tsx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/cli/src/ui/components/EditorSettingsDialog.tsx b/packages/cli/src/ui/components/EditorSettingsDialog.tsx index 7b58262f..3c4c518b 100644 --- a/packages/cli/src/ui/components/EditorSettingsDialog.tsx +++ b/packages/cli/src/ui/components/EditorSettingsDialog.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 { EDITOR_DISPLAY_NAMES, editorSettingsManager, @@ -103,7 +103,7 @@ export function EditorSettingsDialog({ return ( <Box borderStyle="round" - borderColor={theme.border.default} + borderColor={Colors.Gray} flexDirection="row" padding={1} width="100%" @@ -111,7 +111,7 @@ export function EditorSettingsDialog({ <Box flexDirection="column" width="45%" paddingRight={2}> <Text bold={focusedSection === 'editor'}> {focusedSection === 'editor' ? '> ' : ' '}Select Editor{' '} - <Text color={theme.text.secondary}>{otherScopeModifiedMessage}</Text> + <Text color={Colors.Gray}>{otherScopeModifiedMessage}</Text> </Text> <RadioButtonSelect items={editorItems.map((item) => ({ @@ -138,7 +138,7 @@ export function EditorSettingsDialog({ </Box> <Box marginTop={1}> - <Text color={theme.text.secondary}> + <Text color={Colors.Gray}> (Use Enter to select, Tab to change focus) </Text> </Box> @@ -147,17 +147,17 @@ export function EditorSettingsDialog({ <Box flexDirection="column" width="55%" paddingLeft={2}> <Text bold>Editor Preference</Text> <Box flexDirection="column" gap={1} marginTop={1}> - <Text color={theme.text.secondary}> + <Text color={Colors.Gray}> These editors are currently supported. Please note that some editors cannot be used in sandbox mode. </Text> - <Text color={theme.text.secondary}> + <Text color={Colors.Gray}> Your preferred editor is:{' '} <Text color={ mergedEditorName === 'None' - ? theme.status.error - : theme.text.accent + ? Colors.AccentRed + : Colors.AccentCyan } bold > |
