diff options
| author | Miguel Solorio <[email protected]> | 2025-08-15 15:39:54 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-15 22:39:54 +0000 |
| commit | 3c0af3654ac5491e79c6f9b55de5debf0e1e13c1 (patch) | |
| tree | 51eabe9544038b06b0c0a78d31dfa25232de3754 /packages/cli/src/ui/components/EditorSettingsDialog.tsx | |
| parent | 5246aa11f49108a22d4ba306a49b1af79153cac1 (diff) | |
Update semantic color tokens (#6253)
Co-authored-by: jacob314 <[email protected]>
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 3c4c518b..7b58262f 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 { Colors } from '../colors.js'; +import { theme } from '../semantic-colors.js'; import { EDITOR_DISPLAY_NAMES, editorSettingsManager, @@ -103,7 +103,7 @@ export function EditorSettingsDialog({ return ( <Box borderStyle="round" - borderColor={Colors.Gray} + borderColor={theme.border.default} 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={Colors.Gray}>{otherScopeModifiedMessage}</Text> + <Text color={theme.text.secondary}>{otherScopeModifiedMessage}</Text> </Text> <RadioButtonSelect items={editorItems.map((item) => ({ @@ -138,7 +138,7 @@ export function EditorSettingsDialog({ </Box> <Box marginTop={1}> - <Text color={Colors.Gray}> + <Text color={theme.text.secondary}> (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={Colors.Gray}> + <Text color={theme.text.secondary}> These editors are currently supported. Please note that some editors cannot be used in sandbox mode. </Text> - <Text color={Colors.Gray}> + <Text color={theme.text.secondary}> Your preferred editor is:{' '} <Text color={ mergedEditorName === 'None' - ? Colors.AccentRed - : Colors.AccentCyan + ? theme.status.error + : theme.text.accent } bold > |
