This commit is contained in:
callebtc
2025-07-12 02:55:14 +02:00
parent 759ebaec93
commit 50995c670f
4 changed files with 9 additions and 9 deletions
@@ -103,7 +103,7 @@ fun PeerCounter(
imageVector = Icons.Filled.Email,
contentDescription = "Unread private messages",
modifier = Modifier.size(16.dp),
tint = Color(0xFFFF8C00) // Orange to match private message theme
tint = Color(0xFFFF9500) // Orange to match private message theme
)
Spacer(modifier = Modifier.width(6.dp))
}
@@ -241,13 +241,13 @@ private fun PrivateChatHeader(
imageVector = Icons.Filled.Lock,
contentDescription = "Private chat",
modifier = Modifier.size(16.dp),
tint = Color(0xFFFF8C00) // Orange to match private message theme
tint = Color(0xFFFF9500) // Orange to match private message theme
)
Spacer(modifier = Modifier.width(4.dp))
Text(
text = peerNickname,
style = MaterialTheme.typography.titleMedium,
color = Color(0xFFFF8C00) // Orange
color = Color(0xFFFF9500) // Orange
)
}
@@ -310,7 +310,7 @@ private fun ChannelHeader(
Text(
text = "channel: $channel",
style = MaterialTheme.typography.titleMedium,
color = Color(0xFFFF8C00), // Orange to match input field
color = Color(0xFFFF9500), // Orange to match input field
modifier = Modifier
.align(Alignment.Center)
.clickable { onSidebarClick() }
@@ -139,7 +139,7 @@ private fun appendFormattedContent(
}
"mention" -> {
builder.pushStyle(SpanStyle(
color = Color(0xFFFF8C00), // Orange
color = Color(0xFFFF9500), // Orange
fontSize = 14.sp,
fontWeight = FontWeight.SemiBold
))
@@ -49,8 +49,8 @@ fun MessageInput(
text = "<@$nickname>", // No arrow for both private and channel
style = MaterialTheme.typography.bodySmall.copy(fontWeight = FontWeight.Medium),
color = when {
selectedPrivatePeer != null -> Color(0xFFFF8C00) // Orange for private
currentChannel != null -> Color(0xFFFF8C00) // Orange for channels too
selectedPrivatePeer != null -> Color(0xFFFF9500) // Orange for private
currentChannel != null -> Color(0xFFFF9500) // Orange for channels too
else -> colorScheme.primary
},
fontFamily = FontFamily.Monospace
@@ -85,7 +85,7 @@ fun MessageInput(
.background(
color = if (selectedPrivatePeer != null || currentChannel != null) {
// Orange for both private messages and channels to match nickname color
Color(0xFFFF8C00).copy(alpha = 0.75f)
Color(0xFFFF9500).copy(alpha = 0.75f)
} else if (colorScheme.background == Color.Black) {
Color(0xFF00FF00).copy(alpha = 0.75f) // Bright green for dark theme
} else {
@@ -320,7 +320,7 @@ private fun PeerItem(
imageVector = Icons.Filled.Email,
contentDescription = "Unread messages",
modifier = Modifier.size(16.dp),
tint = Color(0xFFFF8C00) // Orange to match private message theme
tint = Color(0xFFFF9500) // Orange to match private message theme
)
} else {
// Signal strength indicators