feat: home screen + iOS pairing views
This commit is contained in:
parent
bb119b054b
commit
d96221c5c8
|
|
@ -62,6 +62,7 @@ import androidx.compose.ui.graphics.Color
|
|||
import androidx.compose.ui.layout.ContentScale
|
||||
import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.compose.ui.text.style.TextAlign
|
||||
import androidx.compose.ui.text.style.TextOverflow
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import androidx.compose.ui.unit.dp
|
||||
|
|
@ -519,7 +520,10 @@ private fun PartnerActivationCard(
|
|||
text = "Private invite",
|
||||
style = MaterialTheme.typography.labelSmall,
|
||||
color = CloserPalette.PurpleDeep,
|
||||
fontWeight = FontWeight.SemiBold
|
||||
fontWeight = FontWeight.SemiBold,
|
||||
textAlign = TextAlign.Center,
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
@ -594,10 +598,13 @@ private fun ActivationBenefitPill(
|
|||
) {
|
||||
Text(
|
||||
text = label,
|
||||
modifier = Modifier.padding(horizontal = 9.dp, vertical = 7.dp),
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 9.dp, vertical = 7.dp),
|
||||
style = MaterialTheme.typography.labelSmall,
|
||||
color = CloserPalette.PurpleDeep,
|
||||
fontWeight = FontWeight.SemiBold,
|
||||
textAlign = TextAlign.Center,
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis
|
||||
)
|
||||
|
|
|
|||
|
|
@ -62,6 +62,8 @@ struct PartnerActivationCard: View {
|
|||
.font(CloserFont.caption)
|
||||
.fontWeight(.semibold)
|
||||
.foregroundColor(.closerPrimary)
|
||||
.multilineTextAlignment(.center)
|
||||
.lineLimit(1)
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.vertical, 7)
|
||||
.background(Color.closerBackground.opacity(0.75))
|
||||
|
|
@ -73,6 +75,8 @@ struct PartnerActivationCard: View {
|
|||
.font(CloserFont.caption)
|
||||
.fontWeight(.semibold)
|
||||
.foregroundColor(.closerPrimary)
|
||||
.multilineTextAlignment(.center)
|
||||
.lineLimit(1)
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.vertical, 7)
|
||||
.background(Color.closerBackground.opacity(0.75))
|
||||
|
|
@ -145,6 +149,7 @@ private struct ActivationBenefitChip: View {
|
|||
.font(CloserFont.caption2)
|
||||
.fontWeight(.semibold)
|
||||
.foregroundColor(.closerPrimary)
|
||||
.multilineTextAlignment(.center)
|
||||
.lineLimit(1)
|
||||
.minimumScaleFactor(0.78)
|
||||
.frame(maxWidth: .infinity)
|
||||
|
|
|
|||
Loading…
Reference in New Issue