Ryan Smith
10/23/2022, 7:22 PMMaterialTheme
object like this
MaterialTheme(colors = darkColors()) {
Text("Hello, world!")
}
doesn't change anything? The surface color should be 0xFF121212
(dark grey) and the text white, but my app still opens with a white surface color and black text which is the default light theme color.Ryan Smith
10/23/2022, 7:23 PMBig Chungus
10/23/2022, 9:01 PMAbdelilah El Aissaoui
10/23/2022, 10:01 PMMaterialTheme.colors.background
The window by default does not apply any kind of theming.Ryan Smith
10/24/2022, 2:06 AM