-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
107 lines (107 loc) · 3.12 KB
/
tailwind.config.js
File metadata and controls
107 lines (107 loc) · 3.12 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
'sans': ['Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'sans-serif'],
'black': ['Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'sans-serif'],
},
fontWeight: {
'black': '900',
},
letterSpacing: {
'tight': '-0.025em',
},
animation: {
'gradient-x': 'gradient-x 15s ease infinite',
'gradient-y': 'gradient-y 15s ease infinite',
'gradient-xy': 'gradient-xy 15s ease infinite',
'float': 'float 6s ease-in-out infinite',
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'bounce-slow': 'bounce 3s infinite',
'spin-slow': 'spin 3s linear 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%, 100%': {
'background-size': '200% 200%',
'background-position': 'left center'
},
'50%': {
'background-size': '200% 200%',
'background-position': 'right center'
}
},
'gradient-xy': {
'0%, 100%': {
'background-size': '400% 400%',
'background-position': 'left center'
},
'25%': {
'background-size': '400% 400%',
'background-position': 'left top'
},
'50%': {
'background-size': '400% 400%',
'background-position': 'right top'
},
'75%': {
'background-size': '400% 400%',
'background-position': 'right center'
}
},
'float': {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-20px)' }
}
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
backdropBlur: {
xs: '2px',
},
boxShadow: {
'glow': '0 0 20px rgba(59, 130, 246, 0.5)',
'glow-lg': '0 0 40px rgba(59, 130, 246, 0.5)',
'inner-lg': 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.1)',
},
scale: {
'102': '1.02',
'103': '1.03',
}
},
},
plugins: [],
safelist: [
'from-emerald-500',
'to-emerald-600',
'from-blue-500',
'to-blue-600',
'from-purple-500',
'to-purple-600',
'from-orange-500',
'to-orange-600',
'bg-emerald-100',
'bg-blue-100',
'bg-purple-100',
'bg-orange-100',
'text-emerald-600',
'text-blue-600',
'text-purple-600',
'text-orange-600',
]
};