summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/ThemeDialog.tsx
diff options
context:
space:
mode:
authorMiguel Solorio <[email protected]>2025-06-04 10:41:03 -0700
committerGitHub <[email protected]>2025-06-04 10:41:03 -0700
commita2f03636a50ade818f311d82565560dd8d1daf8d (patch)
tree84cce941a07c704aef16332492d76e142d3a08e9 /packages/cli/src/ui/components/ThemeDialog.tsx
parenta14aada94503ef278232f4659ebc69d5aba457ca (diff)
Update light themes (#726)
Diffstat (limited to 'packages/cli/src/ui/components/ThemeDialog.tsx')
-rw-r--r--packages/cli/src/ui/components/ThemeDialog.tsx14
1 files changed, 8 insertions, 6 deletions
diff --git a/packages/cli/src/ui/components/ThemeDialog.tsx b/packages/cli/src/ui/components/ThemeDialog.tsx
index 58bfeffa..81a34ff4 100644
--- a/packages/cli/src/ui/components/ThemeDialog.tsx
+++ b/packages/cli/src/ui/components/ThemeDialog.tsx
@@ -103,7 +103,7 @@ export function ThemeDialog({
width="100%"
>
{/* Left Column: Selection */}
- <Box flexDirection="column" width="50%" paddingRight={2}>
+ <Box flexDirection="column" width="45%" paddingRight={2}>
<Text bold={focusedSection === 'theme'}>
{focusedSection === 'theme' ? '> ' : ' '}Select Theme{' '}
<Text color={Colors.SubtleComment}>{otherScopeModifiedMessage}</Text>
@@ -133,13 +133,13 @@ export function ThemeDialog({
<Box marginTop={1}>
<Text color={Colors.SubtleComment}>
- (Use ↑/↓ arrows and Enter to select, Tab to change focus)
+ (Use Enter to select, Tab to change focus)
</Text>
</Box>
</Box>
{/* Right Column: Preview */}
- <Box flexDirection="column" width="50%" paddingLeft={3}>
+ <Box flexDirection="column" width="55%" paddingLeft={2}>
<Text bold>Preview</Text>
<Box
borderStyle="single"
@@ -148,9 +148,11 @@ export function ThemeDialog({
flexDirection="column"
>
{colorizeCode(
- `# Source code
-print("Hello, World!")
-`,
+ `def fibonacci(n):
+ a, b = 0, 1
+ for _ in range(n):
+ a, b = b, a + b
+ return a`,
'python',
)}
<Box marginTop={1} />