Hi there community, i would like to hear from you. Any tools or help that can you help to make the jetpack compose design more quickly
p
Pablichjenkov
07/21/2023, 2:44 AM
Have a project that is just for rendering Composables, nothing else there than a playground file and a bunch of state mocks. When achieved the desired design, copy/paste to main project or required module.
s
Stylianos Gakis
07/21/2023, 6:40 AM
This ^^ but make it a module in your app. We got one module which is not used in the real app, and only depends on the design system and some common UI module. That's the perfect place to do this since the build times are super fast for it.
Otherwise just make sure to have small feature modules, that's also good enough for quick iterations on composables.
Stylianos Gakis
07/21/2023, 6:42 AM
Besides such tools, I'd say taking the time to understand how to use your theme properly and especially colors (how MaterialTheme.colorScheme etc really work) is very helpful.
After that, having a design system module with all the generic widely used components in your app is the next step.
If you got those down it really speeds up stuff imo
c
Colton Idle
07/21/2023, 3:03 PM
yeah. we have a design module. then a design-playground module. super quick!