32 lines
870 B
TypeScript
32 lines
870 B
TypeScript
/*
|
|
* File: animations.ts
|
|
* Description: Animation system definitions for the Physician App
|
|
* Design & Developed by Tech4Biz Solutions
|
|
* Copyright (c) Spurrin Innovations. All rights reserved.
|
|
*/
|
|
|
|
export const animations = {
|
|
durations: {
|
|
fast: 150,
|
|
normal: 300,
|
|
slow: 500,
|
|
},
|
|
easing: {
|
|
standard: 'cubic-bezier(0.4, 0.0, 0.2, 1)',
|
|
deceleration: 'cubic-bezier(0.0, 0.0, 0.2, 1)',
|
|
acceleration: 'cubic-bezier(0.4, 0.0, 1, 1)',
|
|
},
|
|
transitions: {
|
|
fade: { opacity: [0, 1], duration: 300 },
|
|
slide: { transform: [{ translateY: [20, 0] }], duration: 300 },
|
|
scale: { transform: [{ scale: [0.95, 1] }], duration: 200 },
|
|
},
|
|
} as const;
|
|
|
|
export type AnimationKey = keyof typeof animations;
|
|
|
|
/*
|
|
* End of File: animations.ts
|
|
* Design & Developed by Tech4Biz Solutions
|
|
* Copyright (c) Spurrin Innovations. All rights reserved.
|
|
*/
|