fix: flat message action icons — remove background box
Clean flat icons without bordered container. 32dp touch target (circle clip for ripple), 18dp icon size, no background fill. Modern minimal look.
This commit is contained in:
parent
dea379e237
commit
fcac983201
1 changed files with 3 additions and 5 deletions
|
|
@ -489,16 +489,14 @@ fun MessageRow(
|
|||
|
||||
@Composable
|
||||
private fun MessageActionButton(icon: ImageVector, tint: Color, onClick: () -> Unit) {
|
||||
val isDark = isSystemInDarkTheme()
|
||||
Box(
|
||||
Modifier
|
||||
.size(34.dp)
|
||||
.clip(KaizenShapes.sm)
|
||||
.background(if (isDark) Color(0x0AFFFFFF) else Color(0x06000000))
|
||||
.size(32.dp)
|
||||
.clip(KaizenShapes.circle)
|
||||
.clickable(onClick = onClick),
|
||||
contentAlignment = Alignment.Center,
|
||||
) {
|
||||
Icon(icon, null, tint = tint, modifier = Modifier.size(17.dp))
|
||||
Icon(icon, null, tint = tint, modifier = Modifier.size(18.dp))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue