I'm starting learning jetpack compose, I'm trying to follow the tutorials shown here: https://developer.android.com/jetpack/compose/tutorial?hl=es-419
But in the part https://developer.android.com/jetpack/compose/tutorial?hl=es-419#color it says to use: "MaterialTheme.colors" to set the colors of the elements, the problem is that my new and empty project displays:
"Unsolved reference: colors"
I have added:
implementation 'androidx.compose.material3:material3:1.1.1'
implementation 'androidx.compose.material3:material3-window-size-class:1.1.1'
But I don't know how to have access to that element. How can I solved?