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