PeachMotion.kt

980 B · raw

1package com.peachpasswords.ui.theme23import androidx.compose.animation.core.CubicBezierEasing4import androidx.compose.animation.core.tween56object PeachMotion {7    val Spring = CubicBezierEasing(0.16f, 1f, 0.3f, 1f)8    val Retreat = CubicBezierEasing(0.4f, 0f, 1f, 1f)9    val Settle = CubicBezierEasing(0.34f, 1.56f, 0.64f, 1f)10    val StackSpring = CubicBezierEasing(0.18f, 0.9f, 0.22f, 1.02f)11    val Celebrate = CubicBezierEasing(0.22f, 1f, 0.36f, 1f)12    val Standard = CubicBezierEasing(0.4f, 0f, 0.2f, 1f)1314    const val Micro = 8015    const val Quick = 15016    const val Exit = 28017    const val Enter = 50018    const val Stack = 38019    const val Ring = 72020    const val CharDelay = 2021    const val CharDuration = 3802223    fun enterTween() = tween<Float>(Enter, easing = Spring)24    fun exitTween() = tween<Float>(Exit, easing = Retreat)25    fun stackTween() = tween<Float>(Stack, easing = StackSpring)26    fun microTween() = tween<Float>(Micro, easing = Standard)27}