migrated modal to radix-ui
This commit is contained in:
@@ -41,9 +41,19 @@ module.exports = {
|
||||
'0%': { transform: 'translateY(-50%) rotate(0deg)' },
|
||||
'100%': { transform: 'translateY(-50%) rotate(360deg)' },
|
||||
},
|
||||
overlayShow: {
|
||||
from: { opacity: 0 },
|
||||
to: { opacity: 1 },
|
||||
},
|
||||
contentShow: {
|
||||
from: { opacity: 0, transform: 'translate(-50%, -48%) scale(0.96)' },
|
||||
to: { opacity: 1, transform: 'translate(-50%, -50%) scale(1)' },
|
||||
},
|
||||
},
|
||||
animation: {
|
||||
disco: 'disco 1.5s linear infinite',
|
||||
overlayShow: 'overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1)',
|
||||
contentShow: 'contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1)',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user