Adjust label size

This commit is contained in:
Rafał Kobyłko 2023-04-17 18:22:59 +02:00
parent 9defbbc21d
commit 2b46c10fbf
3 changed files with 6 additions and 6 deletions

View File

@ -41,7 +41,7 @@ internal object ServiceTextDefaults {
nameTextStyle = TwTheme.typo.caption.copy(fontWeight = FontWeight.Medium),
infoTextStyle = TwTheme.typo.caption.copy(fontWeight = FontWeight.Normal),
codeTextStyle = TwTheme.typo.codeLightSmall,
imageLabelTextStyle = TwTheme.typo.body3.copy(fontWeight = FontWeight.Bold, fontSize = dpToSp(dp = 12.dp), lineHeight = dpToSp(dp = 14.dp)),
imageLabelTextStyle = TwTheme.typo.body3.copy(fontWeight = FontWeight.Bold, fontSize = dpToSp(dp = 11.dp), lineHeight = dpToSp(dp = 15.dp)),
timerTextStyle = TwTheme.typo.caption.copy(fontSize = 11.sp),
)
@ -61,7 +61,7 @@ internal object ServiceDimensDefaults {
cellHeight = 130.dp,
cellHeightInEdit = 64.dp,
imageSize = 40.dp,
labelPillHeight = 16.dp,
labelPillHeight = 18.dp,
labelPillWidth = 28.dp,
timerSize = 32.dp,
)
@ -71,8 +71,8 @@ internal object ServiceDimensDefaults {
cellHeight = 80.dp,
cellHeightInEdit = 64.dp,
imageSize = 30.dp,
labelPillHeight = 14.dp,
labelPillWidth = 22.dp,
labelPillHeight = 13.dp,
labelPillWidth = 21.dp,
timerSize = 28.dp,
)
}

View File

@ -53,7 +53,7 @@ fun ServiceIcon(
Box(
modifier = Modifier
.width(45.dp)
.height(26.dp)
.height(28.dp)
.clip(RoundedCornerShape(16.dp))
.background(TwTheme.color.background)
.align(Alignment.Center),

View File

@ -489,7 +489,7 @@ fun IconSelector(
Box(
modifier = Modifier
.width(28.dp)
.height(16.dp)
.height(18.dp)
.clip(TwTheme.shape.roundedDefault)
.background(TwTheme.color.background)
.align(Alignment.Center),