Update keyframes config to be compatible with latest tailwind config format
Old format (from - to) makes errors in TS. Ref: https://tailwindcss.com/docs/animation#customizing-your-theme
This commit is contained in:
parent
83419c4dc3
commit
b03e2cae3b
|
|
@ -28,12 +28,12 @@ module.exports = {
|
||||||
extend: {
|
extend: {
|
||||||
keyframes: {
|
keyframes: {
|
||||||
'accordion-down': {
|
'accordion-down': {
|
||||||
from: { height: 0 },
|
'0%': { height: '0' },
|
||||||
to: { height: 'var(--radix-accordion-content-height)' },
|
'100%': { height: 'var(--radix-accordion-content-height)' },
|
||||||
},
|
},
|
||||||
'accordion-up': {
|
'accordion-up': {
|
||||||
from: { height: 'var(--radix-accordion-content-height)' },
|
'0%': { height: 'var(--radix-accordion-content-height)' },
|
||||||
to: { height: 0 },
|
'100%': { height: '0' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
animation: {
|
animation: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user