Skip to content

Commit

Permalink
chore(motion): update standard easing to latest value
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 465277416
  • Loading branch information
asyncLiz authored and copybara-github committed Aug 4, 2022
1 parent 7285b3a commit f94a452
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions motion/animation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
* SPDX-License-Identifier: Apache-2.0
*/

/**
* Easing functions to use for web animations.
*
* TODO(b/241113345): replace with tokens
*/
export enum Easing {
STANDARD = 'cubic-bezier(0.4, 0, 0.2, 1)',
ACCELERATION = 'cubic-bezier(0.4, 0, 1, 1)',
DECELERATION = 'cubic-bezier(0, 0, 0.2, 1)',
SHARP = 'cubic-bezier(0.4, 0, 0.6, 1)',
STANDARD = 'cubic-bezier(0.2, 0, 0, 1)',
}

/**
Expand Down

0 comments on commit f94a452

Please sign in to comment.