Skip to content

Commit

Permalink
Changed fonts defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
JetpackDuba committed Aug 6, 2024
1 parent 57e3ba4 commit e47d4a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/com/jetpackduba/gitnuro/theme/Typography.kt
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ fun typography(composeColors: Colors) = Typography(
letterSpacing = LETTER_SPACING.sp,
),
body2 = TextStyle(
fontSize = 12.sp,
fontSize = 13.sp,
color = composeColors.onBackground,
fontWeight = FontWeight.Normal,
letterSpacing = LETTER_SPACING.sp,
letterSpacing = 0.1.sp,
),
caption = TextStyle(
fontSize = 11.sp,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.alpha
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
Expand Down Expand Up @@ -207,6 +208,7 @@ fun Tab(
.widthIn(max = 720.dp),
overflow = TextOverflow.Ellipsis,
style = MaterialTheme.typography.body2,
fontWeight = FontWeight.Medium,
color = MaterialTheme.colors.onBackground,
maxLines = 1,
softWrap = false,
Expand Down

0 comments on commit e47d4a1

Please sign in to comment.