-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
126 lines (125 loc) · 3.27 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
115
116
117
118
119
120
121
122
123
124
125
126
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['class'],
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
keyframes: {
slideIn: {
"0%": { left: "-100%", display: "none" },
"100%": { left: "79px", display: "block" },
},
commentSlideIn: {
"0%": { left: "100%", display: "none" },
"100%": { left: "0px", display: "block" },
},
commentSlideOut: {
"0%": { left: "0px", display: "block" },
"100%": {
left: "100%",
display: "none",
pointerEvent: "none",
},
},
slideOut: {
"0%": { left: "79px", display: "block" },
"100%": { left: "-100%", display: "none" },
},
scaleUp: {
"0%": {
transform: "scale(0.8)",
},
"100%": {
transform: "scale(1)",
},
},
scaleDown: {
"0%": {
transform: "scale(1)",
},
"100%": {
transform: "scale(0)",
},
},
popUp: {
"0%": {
display: "none",
transform: "scale(1)",
},
"50%": {
transform: "scale(1.1)",
},
"100%": {
display: "block",
transform: "scale(1)",
},
},
rootateOnView: {
"0%": {
transform: "rotate(-190deg)",
},
"100%": {
transform: "rotate(0deg)",
},
},
},
slideInWidth: {
"0%": { left: "-100%", display: "none" },
"100%": { left: "80px", display: "block" },
},
slideOutWidth: {
"0%": { left: "80px", display: "block" },
"100%": { left: "-100%", display: "none" },
},
fadeIn: {
"0%": {
display: "none",
},
"100%": { display: "block" },
},
fadeOut: {
"0%": { display: "block" },
"100%": { display: "none" },
},
animation: {
slideIn: "slideIn 0.4s ease forwards",
slideOut: "slideOut 0.4s ease forwards",
slideInWidth: "slideInWidth 0.4s ease forwards",
slideOutWidth: "slideOutWidth 0.4s ease forwards",
fadeIn: "fadeIn 1s ease-in forwards",
fadeOut: "fadeOut 1s ease-in-out forwards",
popUp: "popUp 0.3s",
commentSlideIn: "commentSlideIn 0.3s ease forwards",
commentSlideOut: "commentSlideOut 0.3s ease forwards",
rotateOnView: "rootateOnView 0.3s ease forwards",
scaleUp: "scaleUp 0.3s ease forwards",
scaleDown: "scaleDown 0.3s ease-out forwards",
},
screens: {
xs: "320px",
xs1: "500px",
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
"3xl": "1920px",
},
},
transitionProperty: {
width: "width",
height: "height",
spacing: "margin, padding",
colors: "background-color, border-color, color, fill, stroke",
opacity: "opacity",
shadow: "box-shadow",
transform: "transform",
all: "all",
},
},
plugins: [],
};