Neal Sanche
03/18/2021, 4:13 PMTextButton(
colors = textButtonColors(contentColor = MaterialTheme.colors.secondary),
onClick = {
}
) {
Text("To Step 2")
}
But I'd like to have something like this globally. Is there a way to provide the correct colour in my theme?Louis Pullen-Freilich [G]
03/18/2021, 5:14 PM@Composable
fun MyTextButton(...) {
TextButton(colors = textButtonColors(contentColor MaterialTheme.colors.secondary, ...)
}
Neal Sanche
03/18/2021, 6:44 PMLouis Pullen-Freilich [G]
03/18/2021, 6:48 PMTextButton
by definition uses primary
🙂Neal Sanche
03/18/2021, 6:59 PMLouis Pullen-Freilich [G]
03/18/2021, 7:13 PMColton Idle
03/18/2021, 10:27 PM