-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
91 lines (91 loc) · 2.52 KB
/
Copy pathtailwind.config.js
File metadata and controls
91 lines (91 loc) · 2.52 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./node_modules/@heroui/react/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
morpheus: {
blue: "#3b82f6",
purple: "#8b5cf6",
pink: "#ec4899",
},
},
animation: {
"slide-up": "slideUp 0.3s ease-out",
"fade-in": "fadeIn 0.3s ease-out",
ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
bounce: "bounce 1s infinite",
spin: "spin 1s linear infinite",
"scale-in": "scaleIn 0.3s ease-out",
"slide-down": "slideDown 0.3s ease-out",
},
keyframes: {
slideUp: {
"0%": { transform: "translateY(1rem)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
slideDown: {
"0%": { transform: "translateY(-1rem)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
scaleIn: {
"0%": { transform: "scale(0.95)", opacity: "0" },
"100%": { transform: "scale(1)", opacity: "1" },
},
ping: {
"75%, 100%": {
transform: "scale(2)",
opacity: "0",
},
},
pulse: {
"0%, 100%": {
opacity: "1",
},
"50%": {
opacity: ".5",
},
},
bounce: {
"0%, 100%": {
transform: "translateY(-25%)",
animationTimingFunction: "cubic-bezier(0.8, 0, 1, 1)",
},
"50%": {
transform: "translateY(0)",
animationTimingFunction: "cubic-bezier(0, 0, 0.2, 1)",
},
},
spin: {
from: {
transform: "rotate(0deg)",
},
to: {
transform: "rotate(360deg)",
},
},
},
backdropBlur: {
xs: "2px",
},
boxShadow: {
"glow-blue": "0 0 20px rgba(59, 130, 246, 0.5)",
"glow-purple": "0 0 20px rgba(139, 92, 246, 0.5)",
"glow-pink": "0 0 20px rgba(236, 72, 153, 0.5)",
"glow-green": "0 0 20px rgba(34, 197, 94, 0.5)",
"glow-orange": "0 0 20px rgba(249, 115, 22, 0.5)",
"glow-red": "0 0 20px rgba(239, 68, 68, 0.5)",
},
},
},
plugins: [],
};