mirror of
https://github.com/danilkinkin/buckwheat.git
synced 2025-12-31 04:13:02 +00:00
fix: fixed typography
This commit is contained in:
parent
f0847a7220
commit
f1c4869ed1
2 changed files with 3 additions and 2 deletions
|
|
@ -57,8 +57,9 @@ fun SpendsCountCard(
|
|||
) {
|
||||
Text(
|
||||
text = count.toString(),
|
||||
style = MaterialTheme.typography.displayLarge,
|
||||
style = MaterialTheme.typography.displayMedium,
|
||||
fontSize = MaterialTheme.typography.titleLarge.fontSize,
|
||||
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
softWrap = true,
|
||||
textAlign = TextAlign.Center,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ fun StatCard(
|
|||
contentPadding: PaddingValues = PaddingValues(vertical = 16.dp, horizontal = 24.dp),
|
||||
colors: CardColors = CardDefaults.cardColors(),
|
||||
valueFontSize: TextUnit = MaterialTheme.typography.titleLarge.fontSize,
|
||||
valueFontStyle: TextStyle = MaterialTheme.typography.displayLarge,
|
||||
valueFontStyle: TextStyle = MaterialTheme.typography.displayMedium,
|
||||
labelFontStyle: TextStyle = MaterialTheme.typography.labelMedium,
|
||||
content: @Composable ColumnScope.() -> Unit = {},
|
||||
backdropContent: @Composable () -> Unit = {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue