From 590d89553cf2271400e549d7f89f3daf16d2e7a9 Mon Sep 17 00:00:00 2001 From: another-simple-pixel Date: Sat, 4 Jul 2026 04:35:07 -0700 Subject: [PATCH] Tint the website-preview link on SIMPLEX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The website link-preview card shows the page URL under the title in the flat secondary colour — a blue on SIMPLEX — which reads cold over the sunrise gradient while the card's title uses content colour and the message link itself the accent. Route that URL line through simplexSecondaryTint() on SIMPLEX; other themes keep secondary. The compose-bar preview is left as-is — it sits on the flat sent-message colour, not the gradient. --- .../kotlin/chat/simplex/common/views/helpers/LinkPreviews.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/LinkPreviews.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/LinkPreviews.kt index d2a98ae101..686576e37c 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/LinkPreviews.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/LinkPreviews.kt @@ -215,7 +215,7 @@ fun ChatItemLinkView(linkPreview: LinkPreview, showMenu: State, onLongC if (linkPreview.description != "") { Text(linkPreview.description, maxLines = 12, overflow = TextOverflow.Ellipsis, fontSize = 14.sp, lineHeight = 20.sp) } - Text(linkPreview.uri, maxLines = 1, overflow = TextOverflow.Ellipsis, fontSize = 12.sp, color = MaterialTheme.colors.secondary) + Text(linkPreview.uri, maxLines = 1, overflow = TextOverflow.Ellipsis, fontSize = 12.sp, color = simplexSecondaryTint()) } } }