Skip to content

Switch to Material You dynamic colour with MD3 default fallback#17

Merged
baz8080 merged 1 commit intomasterfrom
baz8080/material-you-dynamic-colour
May 6, 2026
Merged

Switch to Material You dynamic colour with MD3 default fallback#17
baz8080 merged 1 commit intomasterfrom
baz8080/material-you-dynamic-colour

Conversation

@baz8080
Copy link
Copy Markdown
Owner

@baz8080 baz8080 commented May 6, 2026

Summary

  • Removes the custom blue-grey MD3 colour palette (colors.xml for both light and dark)
  • Strips all colour overrides from styles.xml — theme now inherits the stock MD3 default palette
  • Adds DynamicColors.applyToActivitiesIfAvailable in ArcusApplication, enabling wallpaper-based dynamic colour on Android 12+; older devices fall back to the standard MD3 palette automatically

Zero custom colour definitions remain in the repo.

Test plan

  • Build and run on Android 12+ device/emulator — confirm colours reflect wallpaper
  • Build and run on Android 11 or lower — confirm app uses standard MD3 palette (purple/violet tones)
  • Verify light and dark mode both look correct

🤖 Generated with Claude Code

Removes the custom blue-grey MD3 colour palette and replaces it with
DynamicColors.applyToActivitiesIfAvailable, which picks colours from
the user's wallpaper on Android 12+ and falls back to the stock MD3
default palette on older devices. Zero custom colour definitions remain
in the repo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@baz8080 baz8080 merged commit 44b65c4 into master May 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant