Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Jetpack Compose version: 1.7.6
Material Library Version (M2, M3 or Both?): M3 - 1.3.1
Material Compose component used: MaterialTheme
Android Studio Build: #AI-243.21565.193.2431.12752199, built on December 5, 2024
Kotlin version: 2.1.0
Steps to Reproduce or Code Sample to Reproduce:
The Material3 documentation highlights "content-based dynamic color" as a feature , however this is missing from the Compose library, and is incredibly difficult to integrate from the XML library (the theme is applied to a Context, then needs to be extracted and a Compose theme built).
This seems like an oversight in the feature set of Compose Material3, and content-based color schemes should be added.
One current use case we have is an app to view anime, we get a "primary" color for each show from our API, and would like to generate a theme for the details page based on this color. This is currently impossible with compose-material3 1.3.1.
Additionally, it seems like this behavior exists in material-color-utilities , but this is a collection of Java sources, not a library we can use.
Stack trace (if applicable):