-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
102 lines (101 loc) · 2.17 KB
/
tailwind.config.js
File metadata and controls
102 lines (101 loc) · 2.17 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
module.exports = {
mode: "jit",
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
safelist: [
"text-gray-50",
"text-gray-800",
"text-slate-50",
"text-slate-700",
"text-slate-800",
"grid-cols",
"h-128",
"h-0",
"translate-y-4",
"shadow-xl",
"opacity-100",
"z-50",
"-translate-y-full",
"shadow-none",
"opacity-0",
"z-10",
"hidden",
"animate-slideInDown",
"animate-gradient",
{
pattern: /(grid-cols)-(\d{1,2})/,
variants: ["hover", "focus", "sm", "xs"],
},
// {
// pattern: /(from|via|to|border|bg|text)-(.*)-(\d{2,3})/,
// variants: ["hover", "focus"],
// },
],
theme: {
extend: {
spacing: {
120: "480px",
128: "512px",
},
screens: {
xs: "320px",
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1440px",
},
keyframes: {
scaleIn: {
"0%": { transform: "scale(0, 0)", height: 0, width: 0, opacity: 0 },
"100%": {
transform: "scale(1, 1)",
height: "full",
width: "full",
opacity: 1,
},
},
slideInDown: {
"0%": {
transform: "scaleY(0)",
"max-height": 0,
height: 0,
// width: 0,
opacity: 0,
},
"100%": {
transform: "scaleY(1)",
height: "500px",
"max-height": "500px",
// width: "full",
opacity: 1,
},
},
gradient: {
"0%": {
"background-position": "top",
},
"25%": {
"background-position": "left",
},
"50%": {
"background-position": "bottom",
},
"75%": {
"background-position": "right",
},
"100%": {
"background-position": "top",
},
},
},
animation: {
scaleIn: "scaleIn 0.2s ease-in-out forwards",
gradient: "gradient 5s ease-in-out ",
},
},
},
plugins: [],
};