-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathtailwind.config.js
More file actions
98 lines (98 loc) · 2.88 KB
/
tailwind.config.js
File metadata and controls
98 lines (98 loc) · 2.88 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
screens: {
'xs': '480px',
'3xl': '1600px',
},
animation: {
'fade-in-up': 'fade-in-up 0.6s ease-out forwards',
'fade-in': 'fade-in 0.4s ease-out forwards',
'shake': 'shake 0.5s ease-in-out',
'float': 'float 3s ease-in-out infinite',
'float-delayed': 'float-delayed 4s ease-in-out infinite',
'float-slow': 'float-slow 5s ease-in-out infinite',
'gradient-x': 'gradient-x 3s ease infinite',
'pulse-ring': 'pulse-ring 2s ease-out infinite',
'glow': 'glow 2s ease-in-out infinite alternate',
'shimmer': 'shimmer 2s infinite',
},
keyframes: {
'fade-in-up': {
'0%': {
opacity: '0',
transform: 'translateY(30px)',
},
'100%': {
opacity: '1',
transform: 'translateY(0)',
},
},
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
'shake': {
'0%, 100%': { transform: 'translateX(0)' },
'25%': { transform: 'translateX(-5px)' },
'75%': { transform: 'translateX(5px)' },
},
'float': {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-10px)' },
},
'float-delayed': {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-15px)' },
},
'float-slow': {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-8px)' },
},
'gradient-x': {
'0%, 100%': {
'background-size': '200% 200%',
'background-position': 'left center',
},
'50%': {
'background-size': '200% 200%',
'background-position': 'right center',
},
},
'pulse-ring': {
'0%': { transform: 'scale(0.33)' },
'40%, 50%': { opacity: '1' },
'100%': { opacity: '0', transform: 'scale(1.2)' },
},
'glow': {
'0%, 100%': { 'box-shadow': '0 0 5px rgba(59, 130, 246, 0.5)' },
'50%': { 'box-shadow': '0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.6)' },
},
'shimmer': {
'0%': { 'background-position': '-200% 0' },
'100%': { 'background-position': '200% 0' },
},
},
spacing: {
'18': '4.5rem',
'88': '22rem',
'112': '28rem',
'128': '32rem',
},
borderRadius: {
'4xl': '2rem',
'5xl': '2.5rem',
},
backdropBlur: {
'xs': '2px',
},
fontSize: {
'2xs': '0.625rem',
},
},
},
plugins: [],
};