animation toast

This commit is contained in:
hamid zarghami
2025-05-03 14:57:58 +03:30
parent 7fd9aca86f
commit fbd15e25a1
2 changed files with 28 additions and 6 deletions
+14
View File
@@ -21,6 +21,20 @@ module.exports = withMT({
},
borderRadius: {
'2.5': '10px'
},
keyframes: {
'slide-in-right': {
'0%': { transform: 'translateX(100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' }
},
'slide-out-right': {
'0%': { transform: 'translateX(0)', opacity: '1' },
'100%': { transform: 'translateX(100%)', opacity: '0' }
}
},
animation: {
'slide-in-right': 'slide-in-right 0.3s ease-out',
'slide-out-right': 'slide-out-right 0.3s ease-out'
}
},
},