fix(ui): dynamic background and text colors in AuthScreenWrapper#210
fix(ui): dynamic background and text colors in AuthScreenWrapper#210dhruvi-16-me wants to merge 2 commits intoAOSSIE-Org:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughReplaced hardcoded colors and some direct Theme.of(context).colorScheme usages with a local Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 Tip CodeRabbit can generate a title for your PR based on the changes with custom instructions.Set the |
Screenrecording_20260306_170427.mp4Hey @SharkyBytes @jddeep Check this PR. Please merge. |
|
good wrk! resolve the conflicts |
|
@SharkyBytes conflicts resolved. Please merge. |
Closes #211
📝 Description
This pull request addresses a visual inconsistency where the authentication screens (Login and Signup) did not respect the application's theme settings. Previously, the
AuthScreenWrapperused a hardcoded dark background color, and the title text was hardcoded to white. These changes ensure that the authentication flow now dynamically adapts to both light and dark modes, providing a consistent user experience across the app.🔧 Changes Made
lib/widgets/custom_widgets.dartto replace the hardcoded background color (0xFF1A1A1A) in theAuthScreenWrapperwithTheme.of(context).scaffoldBackgroundColor.AuthScreenWrapperto use the theme's display text color instead of hardcodedColors.white, preventing visibility issues on light backgrounds.lib/theme/app_themes.dart.📷 Screenshots or Visual Changes (if applicable)
0xFFF0F0F0with high-contrast dark text.0xFF1A1A1Ascaffold color defined in the dark theme.✅ Checklist
Summary by CodeRabbit