Update light themes (#726)

This commit is contained in:
Miguel Solorio
2025-06-04 10:41:03 -07:00
committed by GitHub
parent a14aada945
commit a2f03636a5
8 changed files with 369 additions and 20 deletions

View File

@@ -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} />