Add Material You dynamic color#103
Merged
Merged
Conversation
The MudTheme is now generated at runtime from a seed color with the C# port of material-color-utilities, using the same SchemeTonalSpot palettes and slot conventions as the offline-generated Orchid palette. On Android 12+ the seed comes from the system accent, so the app follows the wallpaper, and a new Personalization switch falls back to the stock Orchid seed. The status bar and trend chart colors follow the generated palette, and a regression test pins the default seed to the exact Orchid values.
The switch now stays visible everywhere so the feature is discoverable, rendering disabled and off instead of vanishing on Android 11 and below and on Windows. The M3 switch overrides pin solid colors, so a dimming rule restores the disabled look, and the credits and device info reads no longer throw outside a real MAUI app, which also makes the settings page testable.
This was referenced Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7:
MaterialTheme.FromSeedat the default seed to the exact Orchid palette, so the runtime generator provably matches the old hardcoded values (verified bit-for-bit against the node material-color-utilities output).