🚀 Brighter expanded color in Help Tip

* Changed color (surfaceContainer → surfaceContainerHigh) for Help Tip container.

Part of: #60
This commit is contained in:
Acclorite 2024-09-01 16:16:37 +03:00
parent fcb33cc495
commit 1b262e93f6

View file

@ -58,13 +58,13 @@ fun HelpItem(
) )
val animatedBackgroundColor = animateColorAsState( val animatedBackgroundColor = animateColorAsState(
targetValue = if (showDescription.value) { targetValue = if (showDescription.value) {
MaterialTheme.colorScheme.surfaceContainer MaterialTheme.colorScheme.surfaceContainerHigh
} else MaterialTheme.colorScheme.surfaceContainerLow, } else MaterialTheme.colorScheme.surfaceContainerLow,
animationSpec = tween(400) animationSpec = tween(400)
) )
val animatedArrowContainerColor = animateColorAsState( val animatedArrowContainerColor = animateColorAsState(
targetValue = if (showDescription.value) { targetValue = if (showDescription.value) {
MaterialTheme.colorScheme.surfaceContainerHigh MaterialTheme.colorScheme.surfaceContainerHighest
} else MaterialTheme.colorScheme.surfaceContainer, } else MaterialTheme.colorScheme.surfaceContainer,
animationSpec = tween(400) animationSpec = tween(400)
) )