forked from aaryan2004saini/Flikwebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
112 lines (112 loc) · 3.1 KB
/
tailwind.config.js
File metadata and controls
112 lines (112 loc) · 3.1 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
heading: ['Inter', 'system-ui', 'sans-serif'],
mono: ['Geist Mono', 'Geist Mono Fallback', 'monospace'],
},
colors: {
emerald: {
500: '#10B981',
900: '#064E3B',
},
},
animation: {
'gradient-x': 'gradient-x 15s ease infinite',
'gradient-y': 'gradient-y 15s ease infinite',
'gradient-xy': 'gradient-xy 15s ease infinite',
'pulse': 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'float': 'float 6s ease-in-out infinite',
'float-slow': 'float 8s ease-in-out infinite',
'float-slower': 'float 12s ease-in-out infinite',
'spin-slow': 'spin 8s linear infinite',
'spin-reverse': 'spin-reverse 8s linear infinite',
'rotate-3d': 'rotate-3d 10s ease infinite',
},
keyframes: {
'gradient-y': {
'0%, 100%': {
'background-size': '400% 400%',
'background-position': 'center top',
},
'50%': {
'background-size': '200% 200%',
'background-position': 'center center',
},
},
'gradient-x': {
'0%': {
'transform': 'translateX(-100%)',
},
'50%': {
'transform': 'translateX(0)',
},
'100%': {
'transform': 'translateX(100%)',
},
},
'gradient-xy': {
'0%, 100%': {
'background-size': '400% 400%',
'background-position': 'left center',
},
'50%': {
'background-size': '200% 200%',
'background-position': 'right center',
},
},
'pulse': {
'0%, 100%': {
opacity: 0.8,
transform: 'scale(1)',
},
'50%': {
opacity: 0.4,
transform: 'scale(0.95)',
},
},
'float': {
'0%, 100%': {
transform: 'translateY(0)',
},
'50%': {
transform: 'translateY(-10px)',
},
},
'spin-reverse': {
'from': {
transform: 'rotate(360deg)'
},
'to': {
transform: 'rotate(0deg)'
}
},
'rotate-3d': {
'0%': {
transform: 'perspective(1000px) rotateX(0) rotateY(0)'
},
'25%': {
transform: 'perspective(1000px) rotateX(10deg) rotateY(10deg)'
},
'50%': {
transform: 'perspective(1000px) rotateX(0) rotateY(20deg)'
},
'75%': {
transform: 'perspective(1000px) rotateX(-10deg) rotateY(10deg)'
},
'100%': {
transform: 'perspective(1000px) rotateX(0) rotateY(0)'
}
},
},
},
},
plugins: [],
};