Changed fonts defaults
This commit is contained in:
parent
57e3ba4aa7
commit
e47d4a199e
@ -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,
|
||||
|
@ -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
|
||||
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user