I’m building an app that lets the user select any arbitrary color. I then want to take that color and theme some components off of it.
Is there a way in Compose to take a color and generate a theme? Or even some lighter/darker versions of it?
That’s pretty cool! Does this just generate a m3 colorScheme directly, or are the parts that just generate a palette exposed too? We use a mix of material3 colorScheme + some of our own tokens, so getting access to the underlying palette would be necessary to be able to adapt something like this fully. And I assume other people are doing the same too