summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/ThemeDialog.tsx
diff options
context:
space:
mode:
authorMiguel Solorio <[email protected]>2025-06-05 14:35:47 -0700
committerGitHub <[email protected]>2025-06-05 14:35:47 -0700
commit8a0a2523ca50eabe1e0701ac049e2e5c7f61791a (patch)
treeae6542307d587a731f0a887b16f2776074f7177e /packages/cli/src/ui/components/ThemeDialog.tsx
parent2285bba66eced3eee2b97ece250ec6e590f76efc (diff)
Allow themes to theme the UI (#769)
Diffstat (limited to 'packages/cli/src/ui/components/ThemeDialog.tsx')
-rw-r--r--packages/cli/src/ui/components/ThemeDialog.tsx11
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/cli/src/ui/components/ThemeDialog.tsx b/packages/cli/src/ui/components/ThemeDialog.tsx
index 81a34ff4..eeccee4c 100644
--- a/packages/cli/src/ui/components/ThemeDialog.tsx
+++ b/packages/cli/src/ui/components/ThemeDialog.tsx
@@ -97,7 +97,7 @@ export function ThemeDialog({
return (
<Box
borderStyle="round"
- borderColor={Colors.SubtleComment}
+ borderColor={Colors.Gray}
flexDirection="row"
padding={1}
width="100%"
@@ -106,7 +106,7 @@ export function ThemeDialog({
<Box flexDirection="column" width="45%" paddingRight={2}>
<Text bold={focusedSection === 'theme'}>
{focusedSection === 'theme' ? '> ' : ' '}Select Theme{' '}
- <Text color={Colors.SubtleComment}>{otherScopeModifiedMessage}</Text>
+ <Text color={Colors.Gray}>{otherScopeModifiedMessage}</Text>
</Text>
<RadioButtonSelect
key={selectInputKey}
@@ -132,7 +132,7 @@ export function ThemeDialog({
</Box>
<Box marginTop={1}>
- <Text color={Colors.SubtleComment}>
+ <Text color={Colors.Gray}>
(Use Enter to select, Tab to change focus)
</Text>
</Box>
@@ -143,12 +143,13 @@ export function ThemeDialog({
<Text bold>Preview</Text>
<Box
borderStyle="single"
- borderColor={Colors.SubtleComment}
+ borderColor={Colors.Gray}
padding={1}
flexDirection="column"
>
{colorizeCode(
- `def fibonacci(n):
+ `# function
+def fibonacci(n):
a, b = 0, 1
for _ in range(n):
a, b = b, a + b