so em.. this question might be too early, but is it safe to assume that material3.compose apis won’t make it’s way to compose multiplatform soon?
➕ 1
s
spierce7
10/28/2021, 1:32 AM
with the new plugin, can’t we use android libraries, in multiplatform?
x
xxfast
10/28/2021, 4:11 AM
we can - i’m wondering if we can reference these in commonMain when you are targeting both desktop and android
k
Kirill Grouchnikov
10/28/2021, 1:18 PM
Where do you expect the theme colors to come from on desktop and web?
a
Albert Chang
10/28/2021, 2:46 PM
Material 3 supports static colors as well. The module itself is already multiplatform and I don't think there's anything preventing the multiplatform version to be published.
c
Chris Sinco [G]
11/03/2021, 2:19 AM
I think the libraries should just work, but it’ll likely no-op on desktop when calling into dynamic color theming since that is Android-specific. It will probably resolve to the default baseline color palette which is a new purple scheme: https://developer.android.com/jetpack/compose/themes/material#m3-colorscheme
Chris Sinco [G]
11/03/2021, 2:19 AM
And then everything else like the component changes (shape, removal of elevation) will come as part of the library. But I doubt dynamic color theming is going to work at all outside of Android