🚀 Brighter expanded color in Help Tip
* Changed color (surfaceContainer → surfaceContainerHigh) for Help Tip container. Part of: #60
This commit is contained in:
parent
fcb33cc495
commit
1b262e93f6
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue