Skip to content

feat(mobile): add Android Material You colors - #6081

Draft
PixPMusic wants to merge 14 commits into
pingdotgg:mainfrom
PixPMusic:pixpmusic/android-material-you
Draft

feat(mobile): add Android Material You colors#6081
PixPMusic wants to merge 14 commits into
pingdotgg:mainfrom
PixPMusic:pixpmusic/android-material-you

Conversation

@PixPMusic

@PixPMusic PixPMusic commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add an Android-only Material You color toggle under Settings → Appearance → Theme
  • keep it disabled by default, persist the preference, and restore the exact existing palette when turned off
  • apply wallpaper-derived light and dark palettes to app chrome while preserving semantic danger and code/diff colors
  • refresh dynamic colors when the app returns to the foreground

Why

Exact issue and PR searches for Material You and dynamic color found 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.

Device Settings Wallpaper & style
Phone · 1080×1920
Pixel Fold · folded · 1080×2424
Pixel Fold · unfolded · 2076×2152

Before and after for every mobile showcase view. Full-resolution files live on the fork's pr-assets/android-material-you branch so they stay out of this PR's diff.

Phone · 1080×1920
View Before Material You
Appearance
Threads
Thread
Terminal
Review
Environments
Pixel Fold · folded · 1080×2424
View Before Material You
Appearance
Threads
Thread
Terminal
Review
Environments
Pixel Fold · unfolded · 2076×2152
View Before Material You
Appearance
Threads
Thread
Terminal
Review
Environments

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 typecheck
  • targeted vp lint and vp fmt for all changed source files
  • manually verified toggle persistence, all 36 refreshed before/after screenshots, and six Android system baselines across phone, folded, and unfolded layouts

Checklist

  • toggle is off by default
  • Android 12+ uses the system wallpaper palette
  • unsupported Android versions show a disabled setting
  • iOS behavior is unchanged

Model: GPT-5.6 Sol | Harness: Codex in T3 Code

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f12fc045-f5b0-4b73-85fb-06921e7d4292

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Aug 11, 2026
@macroscopeapp

macroscopeapp Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: 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.

@PixPMusic
PixPMusic marked this pull request as draft August 11, 2026 02:03
@PixPMusic
PixPMusic force-pushed the pixpmusic/android-material-you branch from 5e6668f to dc8f8eb Compare August 11, 2026 04:02
@github-actions github-actions Bot added size:XL 500-999 changed lines (additions + deletions). and removed size:L 100-499 changed lines (additions + deletions). labels Aug 11, 2026
Comment thread apps/mobile/src/features/files/ThreadFilesRouteScreen.tsx Outdated
Comment thread apps/mobile/src/features/threads/ThreadFeed.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL 500-999 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant