From dc2ac144b7059ec2d66f1e90316df40d3822c8b5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 21 Jul 2025 17:54:44 -0400 Subject: Various spelling improvements (#3497) Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: Sandy Tao --- packages/cli/src/ui/components/ThemeDialog.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'packages/cli/src/ui/components/ThemeDialog.tsx') diff --git a/packages/cli/src/ui/components/ThemeDialog.tsx b/packages/cli/src/ui/components/ThemeDialog.tsx index 41c39b63..a6a16b8c 100644 --- a/packages/cli/src/ui/components/ThemeDialog.tsx +++ b/packages/cli/src/ui/components/ThemeDialog.tsx @@ -73,7 +73,7 @@ export function ThemeDialog({ const initialThemeIndex = themeItems.findIndex( (item) => item.value === selectedThemeName, ); - // If not found, fallback to the first theme + // If not found, fall back to the first theme const safeInitialThemeIndex = initialThemeIndex >= 0 ? initialThemeIndex : 0; const scopeItems = [ @@ -185,7 +185,7 @@ export function ThemeDialog({ } // Don't focus the scope selection if it is hidden due to height constraints. - const currenFocusedSection = !showScopeSelection ? 'theme' : focusedSection; + const currentFocusedSection = !showScopeSelection ? 'theme' : focusedSection; // Vertical space taken by elements other than the two code blocks in the preview pane. // Includes "Preview" title, borders, and margin between blocks. @@ -224,8 +224,8 @@ export function ThemeDialog({ {/* Left Column: Selection */} - - {currenFocusedSection === 'theme' ? '> ' : ' '}Select Theme{' '} + + {currentFocusedSection === 'theme' ? '> ' : ' '}Select Theme{' '} {otherScopeModifiedMessage} {/* Scope Selection */} {showScopeSelection && ( - - {currenFocusedSection === 'scope' ? '> ' : ' '}Apply To + + {currentFocusedSection === 'scope' ? '> ' : ' '}Apply To )} @@ -261,7 +261,7 @@ export function ThemeDialog({ {/* Right Column: Preview */} Preview - {/* Get the Theme object for the highlighted theme, fallback to default if not found */} + {/* Get the Theme object for the highlighted theme, fall back to default if not found */} {(() => { const previewTheme = themeManager.getTheme( -- cgit v1.2.3