mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 03:45:21 +00:00
orange
This commit is contained in:
@@ -103,7 +103,7 @@ fun PeerCounter(
|
|||||||
imageVector = Icons.Filled.Email,
|
imageVector = Icons.Filled.Email,
|
||||||
contentDescription = "Unread private messages",
|
contentDescription = "Unread private messages",
|
||||||
modifier = Modifier.size(16.dp),
|
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))
|
Spacer(modifier = Modifier.width(6.dp))
|
||||||
}
|
}
|
||||||
@@ -241,13 +241,13 @@ private fun PrivateChatHeader(
|
|||||||
imageVector = Icons.Filled.Lock,
|
imageVector = Icons.Filled.Lock,
|
||||||
contentDescription = "Private chat",
|
contentDescription = "Private chat",
|
||||||
modifier = Modifier.size(16.dp),
|
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))
|
Spacer(modifier = Modifier.width(4.dp))
|
||||||
Text(
|
Text(
|
||||||
text = peerNickname,
|
text = peerNickname,
|
||||||
style = MaterialTheme.typography.titleMedium,
|
style = MaterialTheme.typography.titleMedium,
|
||||||
color = Color(0xFFFF8C00) // Orange
|
color = Color(0xFFFF9500) // Orange
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -310,7 +310,7 @@ private fun ChannelHeader(
|
|||||||
Text(
|
Text(
|
||||||
text = "channel: $channel",
|
text = "channel: $channel",
|
||||||
style = MaterialTheme.typography.titleMedium,
|
style = MaterialTheme.typography.titleMedium,
|
||||||
color = Color(0xFFFF8C00), // Orange to match input field
|
color = Color(0xFFFF9500), // Orange to match input field
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.align(Alignment.Center)
|
.align(Alignment.Center)
|
||||||
.clickable { onSidebarClick() }
|
.clickable { onSidebarClick() }
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ private fun appendFormattedContent(
|
|||||||
}
|
}
|
||||||
"mention" -> {
|
"mention" -> {
|
||||||
builder.pushStyle(SpanStyle(
|
builder.pushStyle(SpanStyle(
|
||||||
color = Color(0xFFFF8C00), // Orange
|
color = Color(0xFFFF9500), // Orange
|
||||||
fontSize = 14.sp,
|
fontSize = 14.sp,
|
||||||
fontWeight = FontWeight.SemiBold
|
fontWeight = FontWeight.SemiBold
|
||||||
))
|
))
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ fun MessageInput(
|
|||||||
text = "<@$nickname>", // No arrow for both private and channel
|
text = "<@$nickname>", // No arrow for both private and channel
|
||||||
style = MaterialTheme.typography.bodySmall.copy(fontWeight = FontWeight.Medium),
|
style = MaterialTheme.typography.bodySmall.copy(fontWeight = FontWeight.Medium),
|
||||||
color = when {
|
color = when {
|
||||||
selectedPrivatePeer != null -> Color(0xFFFF8C00) // Orange for private
|
selectedPrivatePeer != null -> Color(0xFFFF9500) // Orange for private
|
||||||
currentChannel != null -> Color(0xFFFF8C00) // Orange for channels too
|
currentChannel != null -> Color(0xFFFF9500) // Orange for channels too
|
||||||
else -> colorScheme.primary
|
else -> colorScheme.primary
|
||||||
},
|
},
|
||||||
fontFamily = FontFamily.Monospace
|
fontFamily = FontFamily.Monospace
|
||||||
@@ -85,7 +85,7 @@ fun MessageInput(
|
|||||||
.background(
|
.background(
|
||||||
color = if (selectedPrivatePeer != null || currentChannel != null) {
|
color = if (selectedPrivatePeer != null || currentChannel != null) {
|
||||||
// Orange for both private messages and channels to match nickname color
|
// 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) {
|
} else if (colorScheme.background == Color.Black) {
|
||||||
Color(0xFF00FF00).copy(alpha = 0.75f) // Bright green for dark theme
|
Color(0xFF00FF00).copy(alpha = 0.75f) // Bright green for dark theme
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ private fun PeerItem(
|
|||||||
imageVector = Icons.Filled.Email,
|
imageVector = Icons.Filled.Email,
|
||||||
contentDescription = "Unread messages",
|
contentDescription = "Unread messages",
|
||||||
modifier = Modifier.size(16.dp),
|
modifier = Modifier.size(16.dp),
|
||||||
tint = Color(0xFFFF8C00) // Orange to match private message theme
|
tint = Color(0xFFFF9500) // Orange to match private message theme
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
// Signal strength indicators
|
// Signal strength indicators
|
||||||
|
|||||||
Reference in New Issue
Block a user