-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
85 lines (85 loc) · 2.47 KB
/
tailwind.config.js
File metadata and controls
85 lines (85 loc) · 2.47 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
/** @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: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
animation: {
'float': 'float 6s ease-in-out infinite',
'gradient': 'gradient 6s linear infinite',
'glow': 'glow 3s ease-in-out infinite',
'twinkle': 'twinkle 3s ease-in-out infinite',
'meteor': 'meteor 5s linear infinite',
'blackhole': 'blackhole 3s cubic-bezier(0.4, 0, 0.2, 1) infinite',
'spin-slow': 'spin 20s linear infinite',
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'fadeIn': 'fadeIn 0.5s ease-out forwards',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-20px)' },
},
gradient: {
'0%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
'100%': { backgroundPosition: '0% 50%' },
},
glow: {
'0%, 100%': { boxShadow: '0 0 5px rgba(156, 39, 176, 0.3)' },
'50%': { boxShadow: '0 0 20px rgba(156, 39, 176, 0.6)' },
},
twinkle: {
'0%, 100%': {
opacity: '0',
transform: 'scale(0.5)',
},
'50%': {
opacity: '1',
transform: 'scale(1)',
},
},
meteor: {
'0%': {
transform: 'translateX(100%) translateY(-100%)',
opacity: '1',
},
'70%': { opacity: '1' },
'100%': {
transform: 'translateX(-250%) translateY(250%)',
opacity: '0',
},
},
blackhole: {
'0%': {
transform: 'scale(1) rotate(0deg)',
opacity: '1',
},
'100%': {
transform: 'scale(0) rotate(360deg)',
opacity: '0',
},
},
fadeIn: {
'0%': {
opacity: '0',
transform: 'translateY(-20px)',
},
'100%': {
opacity: '1',
transform: 'translateY(0)',
},
},
},
},
},
plugins: [],
}