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
|
@Composable
|
||||||
private fun MessageActionButton(icon: ImageVector, tint: Color, onClick: () -> Unit) {
|
private fun MessageActionButton(icon: ImageVector, tint: Color, onClick: () -> Unit) {
|
||||||
val isDark = isSystemInDarkTheme()
|
|
||||||
Box(
|
Box(
|
||||||
Modifier
|
Modifier
|
||||||
.size(34.dp)
|
.size(32.dp)
|
||||||
.clip(KaizenShapes.sm)
|
.clip(KaizenShapes.circle)
|
||||||
.background(if (isDark) Color(0x0AFFFFFF) else Color(0x06000000))
|
|
||||||
.clickable(onClick = onClick),
|
.clickable(onClick = onClick),
|
||||||
contentAlignment = Alignment.Center,
|
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