-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
86 lines (86 loc) · 2.59 KB
/
tailwind.config.js
File metadata and controls
86 lines (86 loc) · 2.59 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
transitionProperty: {
'height': 'height',
'spacing': 'margin, padding',
},
transitionDuration: {
'2000': '2000ms',
},
transitionDelay: {
'300': '300ms',
'500': '500ms',
},
animation: {
'drift': 'drift 20s ease-in-out infinite',
'drift-slow': 'drift-slow 25s ease-in-out infinite',
'float': 'float 6s ease-in-out infinite',
'float-slow': 'float-slow 8s ease-in-out infinite',
'subtle-drift': 'subtle-drift 20s ease-in-out infinite',
'subtle-drift-slow': 'subtle-drift-slow 25s ease-in-out infinite',
'fade-in': 'fade-in 0.5s ease-out',
'scale-up': 'scale-up 0.5s ease-out',
'gradient-x': 'gradient-x 15s ease infinite',
'orbit': 'orbit 20s linear infinite',
'spin-slow': 'spin 20s linear infinite',
},
keyframes: {
drift: {
'0%, 100%': { transform: 'translate(0, 0)' },
'50%': { transform: 'translate(12px, 12px)' },
},
'drift-slow': {
'0%, 100%': { transform: 'translate(0, 0)' },
'50%': { transform: 'translate(-12px, -12px)' },
},
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-20px)' },
},
'float-slow': {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-15px)' },
},
'subtle-drift': {
'0%, 100%': { transform: 'translate(0, 0)' },
'50%': { transform: 'translate(12px, 12px)' },
},
'subtle-drift-slow': {
'0%, 100%': { transform: 'translate(0, 0)' },
'50%': { transform: 'translate(-12px, -12px)' },
},
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
'scale-up': {
'0%': { transform: 'scale(0.95)' },
'100%': { transform: 'scale(1)' },
},
'gradient-x': {
'0%, 100%': {
'background-size': '200% 200%',
'background-position': 'left center'
},
'50%': {
'background-size': '200% 200%',
'background-position': 'right center'
}
},
'orbit': {
'0%': { transform: 'rotate(0deg)' },
'100%': { transform: 'rotate(360deg)' },
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
};