-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
60 lines (58 loc) · 1.22 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
/** @type {import('tailwindcss').Config} */
module.exports = {
prefix: "tw-",
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/layouts/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
animation: {
tilt: "tilt 10s infinite linear",
appear: "appear 0.5s ease-in-out",
appearLong: "appear 1s ease-in-out",
},
keyframes: {
tilt: {
"0%, 50%, 100%": {
transform: "rotate(0deg)",
},
"25%": {
transform: "rotate(1.5deg)",
},
"75%": {
transform: "rotate(-1.5deg)",
},
},
appear: {
"0%": {
opacity: 0,
},
"100%": {
opacity: 1,
},
},
appearLong: {
"0%": {
opacity: 0,
},
"100%": {
opacity: 1,
},
},
},
fontFamily: {
code: ["Source Code Pro", "monospace"],
},
backgroundSize: {
"size-200": "200% 200%",
},
backgroundPosition: {
"pos-0": "0% 0%",
"pos-100": "100% 100%",
},
},
},
plugins: [],
};