jitinsharma
05/14/2020, 1:29 PMval themeColors = lightColorPalette(
primary = Color(0xFF092432),
primaryVariant = Color(0xFF092432),
secondary = Color(0xFF3DDB85)
)
And initialised the same like this
MaterialTheme(colors = themeColors) {
// children
}
Now if I access colors using MaterialTheme.colors
, I’m able to get custom colors in all composables except for Dialog
In Dialog
, the colours reset to default values.
Is this a known issue?Louis Pullen-Freilich [G]
05/14/2020, 1:30 PMjitinsharma
05/14/2020, 1:30 PMZach Klippenstein (he/him) [MOD]
05/14/2020, 2:52 PM