Introduce new Toast module

This commit is contained in:
Chewbacca
2022-12-20 10:47:02 -05:00
parent 778b63ab56
commit 01eccc897b
6 changed files with 440 additions and 0 deletions

View File

@ -65,6 +65,8 @@ module.exports = {
'sonar-scale-3': 'sonar-scale-3 3s 0.5s linear infinite',
'sonar-scale-2': 'sonar-scale-2 3s 1s linear infinite',
'sonar-scale-1': 'sonar-scale-1 3s 1.5s linear infinite',
'enter': 'enter 200ms ease-out',
'leave': 'leave 150ms ease-in forwards',
},
keyframes: {
'sonar-scale-4': {
@ -83,6 +85,14 @@ module.exports = {
from: { opacity: '0.4', transform: 'scale(1)' },
to: { opacity: '0', transform: 'scale(2.5)' },
},
enter: {
from: { transform: 'scale(0.9)', opacity: '0' },
to: { transform: 'scale(1)', opacity: '1' },
},
leave: {
from: { transform: 'scale(1)', opacity: '1' },
to: { transform: 'scale(0.9)', opacity: '0' },
},
},
},
},