-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
104 lines (104 loc) · 2.52 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
module.exports = {
purge: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
sans: ["Poppins"],
},
extend: {
animation: {
"shadow-drop-center": "shadow-drop-center 0.7s ease-out both",
"slide-bottom":
"slide-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both",
"slide-top":
"slide-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s both",
"fade-in":
"fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.5s both",
"fade-in-title":
"fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1s both",
"tracking-in-expand":
"tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both",
"color-change-2x":
"color-change-2x 2s linear infinite alternate-reverse both",
},
keyframes: {
"shadow-drop-center": {
"0%": {
"box-shadow": "0 0 0 0 transparent",
},
to: {
"box-shadow": "0 0 20px 0 rgba(0, 0, 0, .35)",
},
},
"slide-bottom": {
"0%": {
transform: "translateY(0)",
opacity: "0%",
},
to: {
transform: "translateY(100px)",
opacity: "100%",
},
},
"slide-top": {
"0%": {
transform: "translateY(0)",
opacity: "0%",
},
to: {
transform: "translateY(-100px)",
opacity: "100%",
},
},
"fade-in": {
"0%": {
opacity: "0",
},
to: {
opacity: "1",
},
},
"fade-in-title": {
"0%": {
opacity: "0",
},
to: {
opacity: "1",
},
},
"tracking-in-expand": {
"0%": {
"letter-spacing": "-.5em",
opacity: "0",
},
"40%": {
opacity: ".6",
},
to: {
opacity: "1",
},
},
"color-change-2x": {
"0%": {
background: "#56ff2c",
},
to: {
background: "#03f4fc",
},
},
},
colors: {
dateBubble: "#e1f2fb",
},
spacing: {
ext: "35rem",
up: "32rem",
upSize: "26rem",
},
},
},
variants: {
extend: {},
},
plugins: [],
};