-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtailwind.config.js
50 lines (50 loc) · 1.14 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
spacing: {
18: "4.5rem",
104: "26rem",
},
screens: {
tiny: "400px",
xs: "500px",
},
colors: {
alertRed: "#E35454",
greenGo: "#4FBF85",
},
animation: {
shake: "shake 0.9s cubic-bezier(.36,.07,.19,.97) both",
lift: "lift 0.9s cubic-bezier(.36,.07,.19,.97) both",
},
keyframes: {
lift: {
"50%": {
transform: "translateY(-6px)",
},
},
shake: {
"10%, 90%": {
transform: "translateX(-1px)",
},
"20%, 80%": {
transform: "translateX(2px)",
},
"30%, 50%, 70%": {
transform: "translateX(-4px)",
},
"40%, 60%": {
transform: "translateX(4px)",
},
},
},
},
},
plugins: [require("tailwindcss-3d")({ legacy: true })],
};