mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-25 16:24:27 +00:00
ChatInfoImage: LIGHT default avatar at midpoint of white card and gray canvas
Was at 0.91 mix (~#E8) — designed to sit 'below' the white card, but on the ~#F0 canvas it nearly blended (delta ~8). Switch to 0.97 mix (~#F7), which is the geometric midpoint between #FF (white card) and ~#F0 (canvas) and so sits at equal absolute contrast against either background.
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ import kotlin.math.max
|
||||
@Composable
|
||||
private fun defaultProfileIconColor(): Color =
|
||||
if (CurrentColors.value.base == DefaultTheme.LIGHT)
|
||||
MaterialTheme.colors.background.mixWith(MaterialTheme.colors.onBackground, 0.91f)
|
||||
MaterialTheme.colors.background.mixWith(MaterialTheme.colors.onBackground, 0.97f)
|
||||
else
|
||||
MaterialTheme.colors.secondaryVariant
|
||||
|
||||
|
||||
Reference in New Issue
Block a user