Tweak typography
This commit is contained in:
parent
817a867309
commit
92694718ce
@ -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
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@ -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)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user