Tweak typography

This commit is contained in:
MM20 2021-09-26 12:35:21 +02:00
parent 817a867309
commit 92694718ce
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389
2 changed files with 5 additions and 5 deletions

View File

@ -80,10 +80,10 @@ val typography = Typography(
fontSize = 14.sp, fontSize = 14.sp,
), ),
body1 = TextStyle( body1 = TextStyle(
fontSize = 14.sp fontSize = 13.sp
), ),
body2 = TextStyle( body2 = TextStyle(
fontSize = 13.sp fontSize = 12.sp
) )
) )

View File

@ -35,12 +35,12 @@ fun Preference(
Column( Column(
modifier = Modifier.weight(1f) modifier = Modifier.weight(1f)
) { ) {
Text(text = title, style = MaterialTheme.typography.body1) Text(text = title, style = MaterialTheme.typography.subtitle2)
if (summary != null) { if (summary != null) {
Text( Text(
text = summary, text = summary,
style = MaterialTheme.typography.body2, style = MaterialTheme.typography.body1,
modifier = Modifier.padding(top = 2.dp) modifier = Modifier.padding(top = 1.dp)
) )
} }
} }