feat(mobile): add Android Material You colors - #6081
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
ApprovabilityVerdict: Needs human review This PR introduces a new user-facing feature (Android Material You colors) with platform-specific integrations, new UI components, runtime theme manipulation, and preferences changes. New features of this scope warrant human review. You can customize Macroscope's approvability policy. Learn more. |
5e6668f to
dc8f8eb
Compare
Summary
Why
Exact issue and PR searches for
Material Youanddynamic colorfound no existing implementation or tracking issue. #5694 broadly adds built-in themes, but does not implement Android wallpaper-derived colors and is not a dependency for this change.Screenshots
Android system baseline
Stock Pixel Settings and Wallpaper & style on the same emulators, wallpaper palette, dark appearance, and dimensions used below. The reference shows the intended Material You balance: neutral large surfaces with wallpaper color concentrated in accents and selected controls.
Before and after for every mobile showcase view. Full-resolution files live on the fork's
pr-assets/android-material-youbranch so they stay out of this PR's diff.Phone · 1080×1920
Pixel Fold · folded · 1080×2424
Pixel Fold · unfolded · 2076×2152
Combined foldable validation
This PR stays focused on Material You colors. The remaining unfolded header/composer layout jank visible on the feature-only branch is fixed by the separate foldable/header PR. The local integration branch combines both changes only for validation; those layout changes are not included in this PR.
Unfolded home with no thread selected on the combined local integration branch:
Verification
pnpm exec vp test run apps/mobile/src/lib/appearancePreferences.test.ts apps/mobile/src/lib/materialYouTheme.test.ts(18 tests)pnpm --filter @t3tools/mobile typecheckvp lintandvp fmtfor all changed source filesChecklist
Model: GPT-5.6 Sol | Harness: Codex in T3 Code