-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
39 lines (39 loc) · 1.06 KB
/
tailwind.config.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/** @type {import('tailwindcss').Config} */
import colors from "tailwindcss/colors";
export default {
content: ["./src/**/*.{html,js,jsx,ts,tsx}"],
darkMode: "class",
theme: {
extend: {
colors: {
primary: colors.purple,
secondary: colors.zinc,
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
animation: {
beat: "beat 1.2s ease-in-out infinite",
wiggle: "wiggle 1s ease-in-out infinite",
coin: "coin 6s ease-in-out infinite",
},
keyframes: {
beat: {
"0%, 100%": {},
"20%": { transform: "scale(1.1)" },
},
wiggle: {
"0%, 100%": { transform: "rotate(-3deg)" },
"50%": { transform: "rotate(3deg)" },
},
coin: {
"0%, 100%": { transform: "rotateY(-180deg)" },
"50%": { transform: "rotateY(0deg)" },
},
},
},
},
plugins: [],
};