mikepenz / AboutLibraries

AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments
http://mikepenz.github.io/AboutLibraries/
Apache License 2.0
3.66k stars 423 forks source link

[Question] Any plan to support/migrate to Material 3? #816

Closed leinardi closed 1 year ago

leinardi commented 1 year ago

Any plan to migrate or provide a Material 3 version of the Library?

Currently all the material colors are referring to androidx.compose.material.MaterialTheme.colors, while to properly support M3, they should refer to androidx.compose.material3.MaterialTheme.colorScheme. Same for MaterialTheme.typography.

mikepenz commented 1 year ago

@leinardi thank you for the report.

While I don't have a timeline. You can already use the material3 colors today by passing in the libraryColors you want to use: https://github.com/mikepenz/AboutLibraries/blob/develop/aboutlibraries-compose/src/androidMain/kotlin/com/mikepenz/aboutlibraries/ui/compose/Libraries.kt#L47

leinardi commented 1 year ago

Yep, I know about the libraryColors (btw, I just made a PR related to it). I was just curious if the M3 migration was already planned or not :slightly_smiling_face:

mikepenz commented 1 year ago

Thank you very much. Really appreciated.

mikepenz commented 1 year ago

Explored Material 3 for compose.

It still is marked as experimental via compose-jb at least.

Will wait for the upgrade until it is no longer experimental.

Thanks for raising the question

mikepenz commented 10 months ago

@leinardi with 10.10.0 there is now a compose-m3 module

leinardi commented 10 months ago

@mikepenz thanks! I just switched to it :+1: