Skip to content

Instantly share code, notes, and snippets.

@dllewellyn
Created January 9, 2021 11:24
Show Gist options
  • Save dllewellyn/f88e5028d5a778c44d3cdd36efed66f6 to your computer and use it in GitHub Desktop.
Save dllewellyn/f88e5028d5a778c44d3cdd36efed66f6 to your computer and use it in GitHub Desktop.
// Set of Material typography styles to start with
val typography = Typography(
body1 = TextStyle(
fontFamily = FontFamily.Default,
fontWeight = FontWeight.Normal,
fontSize = 16.sp
)
/* Other default text styles to override
button = TextStyle(
fontFamily = FontFamily.Default,
fontWeight = FontWeight.W500,
fontSize = 14.sp
),
caption = TextStyle(
fontFamily = FontFamily.Default,
fontWeight = FontWeight.Normal,
fontSize = 12.sp
)
*/
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment