Skip to content

Commit

Permalink
Fix tailwind config, when animations are redefined, so should all key…
Browse files Browse the repository at this point in the history
…frames
  • Loading branch information
tiagofilipenunes committed Apr 12, 2024
1 parent 3da1f1f commit 0485dcd
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,32 @@ export default {
'weight-900': '900',
},
keyframes: {
spin: {
to: {
transform: 'rotate(360deg)',
},
},
ping: {
'75%, 100%': {
transform: 'scale(2)',
opacity: '0',
},
},
pulse: {
'50%': {
opacity: '.5',
},
},
bounce: {
'0%, 100%': {
transform: 'translateY(-25%)',
animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
},
'50%': {
transform: 'none',
animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
},
},
fade: {
from: {
opacity: '0',
Expand Down

0 comments on commit 0485dcd

Please sign in to comment.