mirror of
https://github.com/twofas/2fas-android.git
synced 2024-11-22 02:09:58 +01:00
Adjust label size
This commit is contained in:
parent
9defbbc21d
commit
2b46c10fbf
@ -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,
|
||||
)
|
||||
}
|
||||
|
@ -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),
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user