0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Added popup and fadein animations to the theme

This commit is contained in:
Djordje Vlaisavljevic 2022-07-06 12:23:42 +02:00
parent 12791f54e6
commit 8f5bb0a448

View file

@ -92,7 +92,22 @@ module.exports = {
'7xl': ['7.2rem', '1'],
'8xl': ['9.6rem', '1'],
'9xl': ['12.8rem', '1']
}
},
animation: {
'popup': 'popup 0.25s ease-in-out',
'fadein': 'fadein 0.2s'
},
keyframes: {
popup: {
'0%': { transform: 'translateY(-20px)', opacity: '0' },
'1%': { transform: 'translateY(20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1.0' }
},
fadein: {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
}
}
},
content: [
'./src/**/*.{js,jsx,ts,tsx}'