Files
coco-app/tailwind.config.js

48 lines
1.1 KiB
JavaScript
Raw Normal View History

import animate from "tailwindcss-animate";
2024-10-28 17:34:48 +08:00
export default {
theme: {
extend: {
animation: {
'fade-in': 'fade-in 0.2s ease-in-out',
typing: 'typing 1.5s ease-in-out infinite',
shake: 'shake 0.5s ease-in-out'
2024-10-28 17:34:48 +08:00
},
keyframes: {
'fade-in': {
2025-12-05 17:06:32 +08:00
'0%': { opacity: '0' },
'100%': { opacity: '1' }
2024-10-28 17:34:48 +08:00
},
typing: {
2025-12-05 17:06:32 +08:00
'0%': { opacity: '0.3' },
'50%': { opacity: '1' },
'100%': { opacity: '0.3' }
},
shake: {
2025-12-05 17:06:32 +08:00
'0%, 100%': { transform: 'rotate(0deg)' },
'25%': { transform: 'rotate(-20deg)' },
'75%': { transform: 'rotate(20deg)' }
}
2024-10-28 17:34:48 +08:00
},
2024-11-26 20:27:27 +08:00
boxShadow: {
'window-custom': '0px 16px 32px 0px rgba(0,0,0,0.3)'
2024-11-26 20:27:27 +08:00
},
zIndex: {
'100': '100',
'1000': '1000',
'2000': '2000'
},
screens: {
2025-12-05 17:06:32 +08:00
mobile: { max: '679px' }
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)'
}
}
2024-10-28 17:34:48 +08:00
},
plugins: [animate],
2025-02-07 20:26:45 +08:00
darkMode: ["class", '[data-theme="dark"]'],
2024-10-28 17:34:48 +08:00
};