Marcin Wisniowski
12/12/2021, 2:56 PMChris Sinco [G]
12/12/2021, 5:02 PMMarcin Wisniowski
12/12/2021, 9:27 PMIcons
, so I would expect that the colors are somewhere too, but I can't find them. But since you specified 2014, is there a different one?Chris Sinco [G]
12/12/2021, 9:51 PMChris Sinco [G]
12/12/2021, 9:55 PMChris Sinco [G]
12/12/2021, 9:57 PMChris Sinco [G]
12/12/2021, 9:59 PMChris Sinco [G]
12/12/2021, 10:03 PMColton Idle
12/13/2021, 6:44 AMChris Sinco [G]
12/13/2021, 8:45 AMMarcin Wisniowski
12/13/2021, 5:42 PMColors
class doesn't use the M3 naming (e.g. tertiary color), so it's difficult to use. Material Theme Builder is nice but again, until Compose supports that color system it doesn't feel worth it to migrate to it.
I understand designers are supposed to pick their own colors. I'm just approaching this from a personal project perspective where I am not a designer, and when Material Design came out it really helped me make my apps look cohesive as long as I followed the guidelines, and the colors are a part of it. I don't have any color theory knowledge and the Material Design palette, again, offers sensible choices that work fine.
But yeah, absolutely not an issue to put the colors in yourself, especially with the Android Studio color picker like you said. Thanks for the insight.Chris Sinco [G]
12/13/2021, 6:57 PMIs this: https://material.io/resources/color/ Not the most up to date tool then? It still references the same color palette.Yes, it is not up-to-date. It’s still maintained on the Material site, but there’s been a couple other color tools that have emerged since.
Chris Sinco [G]
12/13/2021, 7:01 PMThe ComposeÂYes, the current Compose Material library ( class doesn’t use the M3 namingColors
androidx.compose.material:material
) is using the M2 color keys, which is considered stable. If you want to use the color keys from Material Theme Builder, they are intended to be used in the Material3 system, so you would have to use the Material3 Compose library (androidx.compose.material3:material3
), though it’s still in alpha so things can/will change.Chris Sinco [G]
12/13/2021, 7:04 PMI don’t have any color theory knowledge and the Material Design palette, again, offers sensible choices that work fine.Yep definitely makes sense! The 2014 color palette was designed just for that but over time many developers started to rely on the exact colors coming from Material that all apps started to look the same. So Material Theming (M2) was an attempt to encourage designers/developers to not rely on Material colors directly. I see no reason not to use the 2014 colors if it helps you find great colors with minimal effort. Just know that we will not ship constants in libraries that you can depend on in code — hence the current approach of copy/paste. 😞
Chris Sinco [G]
12/13/2021, 7:07 PMtertiary
since Material2 doesn’t have it, I made some small extensions to MaterialTheme in Compose that made it possible without having to adopt the Material3 library: https://developer.android.com/jetpack/compose/themes/custom#extending-material