Files
coco-app/tailwind.config.js

47 lines
1.1 KiB
JavaScript
Raw Permalink Normal View History

import animate from "tailwindcss-animate";
2024-10-28 17:34:48 +08:00
export default {
theme: {
extend: {
animation: {
2025-12-15 14:45:25 +08:00
"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: {
2025-12-15 14:45:25 +08:00
"fade-in": {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
2024-10-28 17:34:48 +08:00
},
typing: {
2025-12-15 14:45:25 +08:00
"0%": { opacity: "0.3" },
"50%": { opacity: "1" },
"100%": { opacity: "0.3" },
},
shake: {
2025-12-15 14:45:25 +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: {
2025-12-15 14:45:25 +08:00
"window-custom": "0px 16px 32px 0px rgba(0,0,0,0.3)",
2024-11-26 20:27:27 +08:00
},
zIndex: {
2025-12-15 14:45:25 +08:00
100: "100",
1000: "1000",
2000: "2000",
},
screens: {
2025-12-15 14:45:25 +08:00
mobile: { max: "679px" },
},
borderRadius: {
2025-12-15 14:45:25 +08:00
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
},
2024-10-28 17:34:48 +08:00
},
plugins: [animate],
2024-10-28 17:34:48 +08:00
};