design(contacts): типографика строк по живой теме
_mobile-contacts.css: имя 16/500 (был SemiBold), детали (email/телефон) 14/500 серым (были 12). Задачи/Карточки сверены: уже в токенах темы (строки/заголовки/F7ListCard r8) — правок не потребовалось. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+5
-3
@@ -281,17 +281,19 @@ fun ContactListRow(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Column(modifier = Modifier.weight(1f)) {
|
Column(modifier = Modifier.weight(1f)) {
|
||||||
|
// Живая тема: имя 16/500, детали 14/500 серым
|
||||||
Text(
|
Text(
|
||||||
contact.displayName.ifBlank { contact.email },
|
contact.displayName.ifBlank { contact.email },
|
||||||
style = MaterialTheme.typography.bodyLarge,
|
style = MaterialTheme.typography.bodyLarge,
|
||||||
fontWeight = FontWeight.SemiBold,
|
fontWeight = FontWeight.Medium,
|
||||||
|
color = F7Colors.TextPrimary,
|
||||||
maxLines = 1,
|
maxLines = 1,
|
||||||
overflow = TextOverflow.Ellipsis,
|
overflow = TextOverflow.Ellipsis,
|
||||||
)
|
)
|
||||||
if (contact.email.isNotBlank() && contact.displayName.isNotBlank()) {
|
if (contact.email.isNotBlank() && contact.displayName.isNotBlank()) {
|
||||||
Text(
|
Text(
|
||||||
contact.email,
|
contact.email,
|
||||||
style = MaterialTheme.typography.bodySmall,
|
style = MaterialTheme.typography.bodyMedium,
|
||||||
color = F7Colors.TextSecondary,
|
color = F7Colors.TextSecondary,
|
||||||
maxLines = 1,
|
maxLines = 1,
|
||||||
overflow = TextOverflow.Ellipsis,
|
overflow = TextOverflow.Ellipsis,
|
||||||
@@ -299,7 +301,7 @@ fun ContactListRow(
|
|||||||
} else if (contact.phone.isNotBlank()) {
|
} else if (contact.phone.isNotBlank()) {
|
||||||
Text(
|
Text(
|
||||||
contact.phone,
|
contact.phone,
|
||||||
style = MaterialTheme.typography.bodySmall,
|
style = MaterialTheme.typography.bodyMedium,
|
||||||
color = F7Colors.TextSecondary,
|
color = F7Colors.TextSecondary,
|
||||||
maxLines = 1,
|
maxLines = 1,
|
||||||
overflow = TextOverflow.Ellipsis,
|
overflow = TextOverflow.Ellipsis,
|
||||||
|
|||||||
Reference in New Issue
Block a user