My company isn't using material, so we're just def...
# compose
c
My company isn't using material, so we're just defining colors like this
Copy code
object MyCompanyColors {
    val Background = Color(0xFFFFFFFF)
    val Text = Color(0xFF424242)
    //20 other colors
}
Anyone see anything wrong with this? I feel like the docs and codelabs don't really have any guidance on how to create a Color sheet UNLESS you go the material theme route
j
The Jetsnack sample uses a Custom Theme, it might be useful to you if you want to take a look: https://github.com/android/compose-samples/blob/main/Jetsnack/app/src/main/java/com/example/jetsnack/ui/theme/Theme.kt
c
This is also a good read. One advantage is you can switch colours to dark mode for example. Maybe even animated? There may be other advantages https://adambennett.dev/2020/12/migrating-your-design-system-to-jetpack-compose-part-2/