From 8f998097414023f436d642f88fc0ec34ff4ad420 Mon Sep 17 00:00:00 2001 From: another-simple-pixel Date: Fri, 3 Jul 2026 16:11:22 -0700 Subject: [PATCH] Tint the framed-header icons and go-to arrows on SIMPLEX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On the SIMPLEX theme the raw secondary colour is a cool blue (#8B99D6) and the framed-header icons drew in the grey FileDark / FileLight — both read cold over the warm sunrise gradient, while the text around them already uses the warm tint. Route the framed-header icon (forward / flag / moderation / deleted markers) and the resting go-to arrow (jump-to-source on forwarded items, jump-to search hit) through simplexSecondaryTint() on SIMPLEX. Every other theme keeps its exact colours. --- .../kotlin/chat/simplex/common/views/chat/item/ChatItemView.kt | 2 ++ .../chat/simplex/common/views/chat/item/FramedItemView.kt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/ChatItemView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/ChatItemView.kt index c501305393..6e493605a1 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/ChatItemView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/ChatItemView.kt @@ -262,6 +262,8 @@ fun ChatItemView( } val iconTint = if (fullyVisible) { Color.White + } else if (CurrentColors.value.base == DefaultTheme.SIMPLEX) { + simplexSecondaryTint() } else { if (MaterialTheme.colors.isLight) { MaterialTheme.colors.secondary.mixWith(Color.White, mixAlpha) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/FramedItemView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/FramedItemView.kt index b2ac07ade5..23002b603e 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/FramedItemView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/item/FramedItemView.kt @@ -116,7 +116,7 @@ fun FramedItemView( icon, caption, Modifier.size(18.dp), - tint = iconColor ?: if (isInDarkTheme()) FileDark else FileLight + tint = iconColor ?: if (CurrentColors.value.base == DefaultTheme.SIMPLEX) simplexSecondaryTint() else if (isInDarkTheme()) FileDark else FileLight ) } val captionColor = simplexSecondaryTint()