How to change textstyle to Material headline?
How to changes text style Material headline? Text("Lorem Ipsum", style = TextStyle() // ???? ) thanks >Solution : In M2 TextStyles are accessed via MaterialTheme.typography For example: Text( text = "Lorem Ipsum", style = MaterialTheme.typography.h1 ) You can customize them in your theme. Something like: val MyTypography = Typography( h1 = TextStyle( fontFamily = Rubik,… Read More How to change textstyle to Material headline?