https://kotlinlang.org logo
#compose-wear
Title
# compose-wear
m

marlonlom

03/21/2024, 10:22 PM
Question about ui design with wearos : whats the recommended surface/background color ? im using the material3 theme builder website, then, the experted theme has background/surface colors that could work in mobile app themes, but, could these colors be compatible? in ✏️ , is still in alpha the m3 library for wearos ? the migration between m2 and m3 im making is being difficult 😞
👀 1
y

yschimke

03/22/2024, 10:13 AM
You are a bity ahead of the curve. m3 is still alpha, and almost certainly likely to change before it's stable. Feedback from early adopters is always welcome.
The design guidance is all based on around m2. https://developer.android.com/design/ui/wear/guides/styles/theme and the linked Figma design kit at https://developer.android.com/design/ui/wear
Confetti uses the material dynamic dark color scheme and converts it into an M2 MaterialTheme Colors https://github.com/joreilly/Confetti/blob/main/wearApp/src/main/java/dev/johnoreilly/confetti/wear/ui/ConfettiTheme.kt
So it's possible, but there are some color combos that seem a bit dark.
I'm not sure if we have a final/ready to share code for converting M3 mobile colors to M3 Wear. cc @stevebower
s

stevebower

03/22/2024, 7:05 PM
We will be making some changes to the Material3 Theme soon, in particular some color names are due to change and additional typography to be added. We also have the new Scaffold components in the pipeline (similar to those in Horologist). So please consider the wear compose material3 library as subject to change in order to avoid disruption to your code.