diff options
Diffstat (limited to 'packages/website/ts/constants/animations.tsx')
-rw-r--r-- | packages/website/ts/constants/animations.tsx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/packages/website/ts/constants/animations.tsx b/packages/website/ts/constants/animations.tsx deleted file mode 100644 index 6a58c4b40..000000000 --- a/packages/website/ts/constants/animations.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { css, keyframes } from 'styled-components'; - -export const fadeIn = keyframes` - 0% { - transform: translateY(10px); - opacity: 0; - } - 100% { - transform: translateY(0); - opacity: 1; - } -`; - -export const addFadeInAnimation = (duration: string = '0.5s', delay: string = '0s') => css` - opacity: 0; - transform: translateY(10px); - animation: ${fadeIn} ${duration} ${delay} forwards; -`; |