-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
114 lines (114 loc) · 4.44 KB
/
tailwind.config.js
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
113
114
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./auth/**/*.{html,js}",
"./index.html",
"./src/**/*.{js,jsx,ts,tsx}",
"./js/**/*.js"
],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f5f3ff',
100: '#ede9fe',
200: '#ddd6fe',
300: '#c4b5fd',
400: '#a78bfa',
500: '#8b5cf6',
600: '#7c3aed',
700: '#6d28d9',
800: '#5b21b6',
900: '#4c1d95',
}
},
animation: {
'float': 'float 20s infinite',
'flight-1': 'flight-path-1 40s linear infinite',
'flight-2': 'flight-path-2 45s linear infinite 5s',
'flight-3': 'flight-path-3 50s linear infinite 8s',
'flight-4': 'flight-path-4 35s linear infinite 4s',
'flight-5': 'flight-path-5 48s linear infinite 6s',
'flight-6': 'flight-path-6 44s linear infinite 8s',
'flight-7': 'flight-path-7 46s linear infinite 9s',
'flight-8': 'flight-path-8 43s linear infinite 3s',
'flight-9': 'flight-path-9 47s linear infinite 5s',
'flight-10': 'flight-path-10 49s linear infinite 3s',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0) scale(1)' },
'25%': { transform: 'translateY(-20px) scale(1.1)' },
'50%': { transform: 'translateY(0) scale(1)' },
'75%': { transform: 'translateY(20px) scale(0.9)' },
},
'flight-path-1': {
'0%': { transform: 'translate(0, 0) rotate(20deg)', opacity: '0' },
'5%': { opacity: '1' },
'95%': { opacity: '1' },
'100%': { transform: 'translate(calc(100vw + 100px), 20vh) rotate(20deg)', opacity: '0' },
},
'flight-path-2': {
'0%': { transform: 'translate(0, 0) rotate(155deg)', opacity: '0' },
'5%': { opacity: '1' },
'95%': { opacity: '1' },
'100%': { transform: 'translate(calc(-100vw - 100px), 25vh) rotate(155deg)', opacity: '0' },
},
'flight-path-3': {
'0%': { transform: 'translate(0, 0) rotate(12deg)', opacity: '0' },
'5%': { opacity: '1' },
'95%': { opacity: '1' },
'100%': { transform: 'translate(calc(100vw + 100px), -5vh) rotate(12deg)', opacity: '0' },
},
'flight-path-4': {
'0%': { transform: 'translate(0, 0) rotate(195deg)', opacity: '0' },
'5%': { opacity: '1' },
'95%': { opacity: '1' },
'100%': { transform: 'translate(calc(-100vw - 100px), -25vh) rotate(195deg)', opacity: '0' },
},
'flight-path-5': {
'0%': { transform: 'translate(0, 0) rotate(350deg)', opacity: '0' },
'5%': { opacity: '1' },
'95%': { opacity: '1' },
'100%': { transform: 'translate(calc(100vw + 100px), -30vh) rotate(350deg)', opacity: '0' },
},
'flight-path-6': {
'0%': { transform: 'translate(0, 0) rotate(170deg)', opacity: '0' },
'5%': { opacity: '1' },
'95%': { opacity: '1' },
'100%': { transform: 'translate(calc(-100vw - 100px), 15vh) rotate(170deg)', opacity: '0' },
},
'flight-path-7': {
'0%': { transform: 'translate(0, 0) rotate(350deg)', opacity: '0' },
'5%': { opacity: '1' },
'95%': { opacity: '1' },
'100%': { transform: 'translate(calc(100vw + 100px), -15vh) rotate(350deg)', opacity: '0' },
},
'flight-path-8': {
'0%': { transform: 'translate(0, 0) rotate(200deg)', opacity: '0' },
'5%': { opacity: '1' },
'95%': { opacity: '1' },
'100%': { transform: 'translate(calc(-100vw - 100px), -20vh) rotate(200deg)', opacity: '0' },
},
'flight-path-9': {
'0%': { transform: 'translate(0, 0) rotate(350deg)', opacity: '0' },
'5%': { opacity: '1' },
'95%': { opacity: '1' },
'100%': { transform: 'translate(calc(100vw + 100px), -25vh) rotate(350deg)', opacity: '0' },
},
'flight-path-10': {
'0%': { transform: 'translate(0, 0) rotate(155deg)', opacity: '0' },
'5%': { opacity: '1' },
'95%': { opacity: '1' },
'100%': { transform: 'translate(calc(-100vw - 100px), 25vh) rotate(155deg)', opacity: '0' },
},
}
}
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('tailwind-scrollbar-hide')
],
}