Skip to content

Commit

Permalink
typography: fix default text size in MaterialTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Mar 16, 2022
1 parent 8fe1af7 commit efd8ca9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ private fun ButtonLinkScreenInner() {
Card {
Column(Modifier.padding(16.dp)) {
Text(
"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam sit amet magna in magna gravida vehicula. Nam quis nulla. Nam sed tellus id magna elementum tincidunt.",
style = OrbitTheme.typography.bodyNormal
text = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam sit amet magna in magna gravida vehicula. Nam quis nulla. Nam sed tellus id magna elementum tincidunt.",
)
Spacer(Modifier.size(8.dp))
ButtonTextLinkPrimary("Translate", onClick = {})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ public data class Typography internal constructor(
subtitle1 = title4,
subtitle2 = title5,
overline = title6,
body1 = bodyLarge,
body2 = bodyNormal,
body1 = bodyNormal,
body2 = bodySmall,
button = title5,
)
}
Expand Down

0 comments on commit efd8ca9

Please sign in to comment.