From 6c1373c33212e26521701acf73c0398721b3a881 Mon Sep 17 00:00:00 2001
From: Jacob Richman <jacob314@gmail.com>
Date: Fri, 15 Aug 2025 20:18:31 -0700
Subject: Revert "Update semantic color tokens" (#6365)

---
 packages/cli/src/ui/components/Help.tsx | 84 ++++++++++++++++-----------------
 1 file changed, 42 insertions(+), 42 deletions(-)

(limited to 'packages/cli/src/ui/components/Help.tsx')

diff --git a/packages/cli/src/ui/components/Help.tsx b/packages/cli/src/ui/components/Help.tsx
index 9b6709ac..d9f7b4a8 100644
--- a/packages/cli/src/ui/components/Help.tsx
+++ b/packages/cli/src/ui/components/Help.tsx
@@ -6,7 +6,7 @@
 
 import React from 'react';
 import { Box, Text } from 'ink';
-import { theme } from '../semantic-colors.js';
+import { Colors } from '../colors.js';
 import { SlashCommand } from '../commands/types.js';
 
 interface Help {
@@ -17,42 +17,42 @@ export const Help: React.FC<Help> = ({ commands }) => (
   <Box
     flexDirection="column"
     marginBottom={1}
-    borderColor={theme.border.default}
+    borderColor={Colors.Gray}
     borderStyle="round"
     padding={1}
   >
     {/* Basics */}
-    <Text bold color={theme.text.primary}>
+    <Text bold color={Colors.Foreground}>
       Basics:
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         Add context
       </Text>
       : Use{' '}
-      <Text bold color={theme.text.accent}>
+      <Text bold color={Colors.AccentPurple}>
         @
       </Text>{' '}
       to specify files for context (e.g.,{' '}
-      <Text bold color={theme.text.accent}>
+      <Text bold color={Colors.AccentPurple}>
         @src/myFile.ts
       </Text>
       ) to target specific files or folders.
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         Shell mode
       </Text>
       : Execute shell commands via{' '}
-      <Text bold color={theme.text.accent}>
+      <Text bold color={Colors.AccentPurple}>
         !
       </Text>{' '}
       (e.g.,{' '}
-      <Text bold color={theme.text.accent}>
+      <Text bold color={Colors.AccentPurple}>
         !npm run start
       </Text>
       ) or use natural language (e.g.{' '}
-      <Text bold color={theme.text.accent}>
+      <Text bold color={Colors.AccentPurple}>
         start server
       </Text>
       ).
@@ -61,15 +61,15 @@ export const Help: React.FC<Help> = ({ commands }) => (
     <Box height={1} />
 
     {/* Commands */}
-    <Text bold color={theme.text.primary}>
+    <Text bold color={Colors.Foreground}>
       Commands:
     </Text>
     {commands
       .filter((command) => command.description)
       .map((command: SlashCommand) => (
         <Box key={command.name} flexDirection="column">
-          <Text color={theme.text.primary}>
-            <Text bold color={theme.text.accent}>
+          <Text color={Colors.Foreground}>
+            <Text bold color={Colors.AccentPurple}>
               {' '}
               /{command.name}
             </Text>
@@ -77,8 +77,8 @@ export const Help: React.FC<Help> = ({ commands }) => (
           </Text>
           {command.subCommands &&
             command.subCommands.map((subCommand) => (
-              <Text key={subCommand.name} color={theme.text.primary}>
-                <Text bold color={theme.text.accent}>
+              <Text key={subCommand.name} color={Colors.Foreground}>
+                <Text bold color={Colors.AccentPurple}>
                   {'   '}
                   {subCommand.name}
                 </Text>
@@ -87,8 +87,8 @@ export const Help: React.FC<Help> = ({ commands }) => (
             ))}
         </Box>
       ))}
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         {' '}
         !{' '}
       </Text>
@@ -98,75 +98,75 @@ export const Help: React.FC<Help> = ({ commands }) => (
     <Box height={1} />
 
     {/* Shortcuts */}
-    <Text bold color={theme.text.primary}>
+    <Text bold color={Colors.Foreground}>
       Keyboard Shortcuts:
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         Alt+Left/Right
       </Text>{' '}
       - Jump through words in the input
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         Ctrl+C
       </Text>{' '}
       - Quit application
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         {process.platform === 'win32' ? 'Ctrl+Enter' : 'Ctrl+J'}
       </Text>{' '}
       {process.platform === 'linux'
         ? '- New line (Alt+Enter works for certain linux distros)'
         : '- New line'}
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         Ctrl+L
       </Text>{' '}
       - Clear the screen
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         {process.platform === 'darwin' ? 'Ctrl+X / Meta+Enter' : 'Ctrl+X'}
       </Text>{' '}
       - Open input in external editor
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         Ctrl+Y
       </Text>{' '}
       - Toggle YOLO mode
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         Enter
       </Text>{' '}
       - Send message
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         Esc
       </Text>{' '}
       - Cancel operation
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         Shift+Tab
       </Text>{' '}
       - Toggle auto-accepting edits
     </Text>
-    <Text color={theme.text.primary}>
-      <Text bold color={theme.text.accent}>
+    <Text color={Colors.Foreground}>
+      <Text bold color={Colors.AccentPurple}>
         Up/Down
       </Text>{' '}
       - Cycle through your prompt history
     </Text>
     <Box height={1} />
-    <Text color={theme.text.primary}>
+    <Text color={Colors.Foreground}>
       For a full list of shortcuts, see{' '}
-      <Text bold color={theme.text.accent}>
+      <Text bold color={Colors.AccentPurple}>
         docs/keyboard-shortcuts.md
       </Text>
     </Text>
-- 
cgit v1.2.3

