Tint the framed-header icons and go-to arrows on SIMPLEX

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.
This commit is contained in:
another-simple-pixel
2026-07-03 16:11:22 -07:00
parent bb9bba9492
commit 8f99809741
2 changed files with 3 additions and 1 deletions
@@ -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)
@@ -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()