material-components / material-components-android

Modular and customizable Material Design UI components for Android
Apache License 2.0
16.42k stars 3.08k forks source link

[material-color-utilities] MaterialColors should be available in Compose v3 #3287

Closed ber4444 closed 1 year ago

ber4444 commented 1 year ago

Is your feature request related to a problem? Please describe. For Compose, we need to use com.google.android.material.color.MaterialColors to generate tonal values for our theme. The problem is that requires the legacy `com.google.android.material:material" artifact (which copied the class from https://github.com/material-foundation/material-color-utilities, by the way).

Describe the solution you'd like Make the same class available in the androidx.compose.material3:material3 artifact.

paulfthomas commented 1 year ago

This is not the right repo for Material Compose, closing.