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,
),
body1 = TextStyle(
fontSize = 14.sp
fontSize = 13.sp
),
body2 = TextStyle(
fontSize = 13.sp
fontSize = 12.sp
)
)

View File

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