-
Notifications
You must be signed in to change notification settings - Fork 88
fix: welcome onboarding screens now respect theme colors (fixes #1005) #1030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…theme colors (closes #1005) Welcome onboarding screens were displaying white text regardless of theme because Text components lacked the color prop. All body text now uses Colors.Foreground to properly respect theme settings (e.g., green text for Green Screen theme). This fixes the theme violation reported in #1005. Modified components: - WelcomeStep.tsx: Welcome message and prompt text - ProviderSelectStep.tsx: Provider selection prompt - ModelSelectStep.tsx: Model selection prompt - AuthMethodStep.tsx: Authentication method prompt - AuthenticationStep.tsx: OAuth loader and API key prompt - CompletionStep.tsx: Profile summary and saving prompts - SkipExitStep.tsx: Manual setup instructions
WalkthroughStyling updates across seven WelcomeOnboarding components apply foreground color to Text elements, ensuring consistent theme-aware text rendering throughout the welcome screen flow without modifying logic or control flow. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (7)
🧰 Additional context used📓 Path-based instructions (1)**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧬 Code graph analysis (5)packages/cli/src/ui/components/WelcomeOnboarding/ModelSelectStep.tsx (2)
packages/cli/src/ui/components/WelcomeOnboarding/ProviderSelectStep.tsx (2)
packages/cli/src/ui/components/WelcomeOnboarding/AuthenticationStep.tsx (2)
packages/cli/src/ui/components/WelcomeOnboarding/WelcomeStep.tsx (2)
packages/cli/src/ui/components/WelcomeOnboarding/SkipExitStep.tsx (2)
⏰ Context from checks skipped due to timeout of 270000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
🔇 Additional comments (11)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
LLxprt PR Review – PR #1030Issue Alignment
Side Effects
Code Quality
Tests & Coverage
Verdict |
Code Coverage Summary
CLI Package - Full Text ReportCore Package - Full Text ReportFor detailed HTML reports, please see the 'coverage-reports-24.x-ubuntu-latest' artifact from the main CI run. |
Summary
Fixed theme violations in all welcome onboarding screens. Text elements that were displaying in white regardless of theme selection now properly respect the theme's
Colors.Foregroundsetting.Problem
When using themes (particularly Green Screen), the welcome onboarding screens displayed white text instead of respecting the theme's foreground color. This happened because
<Text>components lacked thecolorprop, causing Ink to use the terminal's default color (white) instead of the theme'sForegroundcolor.Root Cause
Analysis by CodeRabbit identified that Text components in the welcome onboarding screens were missing the
color={Colors.Foreground}prop, which is required to respect theme settings.Solution
Added
color={Colors.Foreground}to all body text elements across 7 welcome onboarding components:Changes Modified
Testing
Verification
To verify the fix works correctly:
#6a9955) instead of whiteRelated Issue
closes #1005
Summary by CodeRabbit
Style
✏️ Tip: You can customize this high-level summary in your review settings.