Increase inner card border opacity

This commit is contained in:
MM20 2022-06-10 20:20:30 +02:00
parent b60a751cf3
commit 716a6e7af7
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -47,7 +47,7 @@ fun InnerCard(
if (it) 0.dp else 1.dp
}
val borderColor by transition.animateColor(label = "borderColor", transitionSpec = { tween(500) }) {
MaterialTheme.colorScheme.outline.copy(alpha = if (it) 0f else 0.17f)
MaterialTheme.colorScheme.outline.copy(alpha = if (it) 0f else 0.7f)
}
val bgAlpha by transition.animateFloat(label = "bgAlpha", transitionSpec = {
tween(250, if (targetState) 0 else 250)