💄(animations) add animations to smooth out general feeling

the app is your friend now, it's all smooth
This commit is contained in:
Emmanuel Pelletier
2024-07-24 14:22:57 +02:00
parent 786cd3e4c7
commit eab64b7197
7 changed files with 53 additions and 6 deletions

View File

@@ -58,6 +58,19 @@ const config: Config = {
xl: '80em', // 1280px
'2xl': '96em', // 1536px
},
keyframes: {
popoverSlide: {
from: {
transform: 'var(--origin)',
opacity: 0,
},
to: {
transform: 'translateY(0)',
opacity: 1,
},
},
modalFade: { from: { opacity: 0 }, to: { opacity: 1 } },
},
tokens: defineTokens({
/* we take a few things from the panda preset but for now we clear out some stuff.
* This way we'll only add the things we need step by step and prevent using lots of differents things.