-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
53 lines (53 loc) · 1.31 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
const colors = require("tailwindcss/colors");
module.exports = {
mode: "jit",
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
colors: {
primary: colors.cyan,
secondary: colors.emerald,
gray: colors.gray,
white: colors.white,
transparent: "transparent",
current: "currentColor",
smoke: "#3a3a3c",
},
extend: {
keyframes: {
bang: {
"0%, 100%": { transform: "scale(1)" },
"30%": { transform: "scale(1.07)" },
},
shake: {
"0%, 50%": { transform: "translateX(-4px)" },
"30%, 70%": { transform: "translateX(4px)" },
"100%": { transform: "translateX(0px)" },
},
"bg-fade-in": {
"0%": { background: "#ffffff00" },
"100%": { background: "#ffffff05" },
},
"slide-up": {
"0%": {
opacity: 0,
transform: " translateY(40px)",
},
"100%": {
opacity: 1,
transform: " translateY(0px)",
},
},
},
animation: {
bang: "bang 0.25s",
shake: "shake 0.25s;",
bgFadeIn: "bg-fade-in 0.35s ease-in-out",
slideUp: "slide-up 0.45s ease-in-out",
},
},
},
plugins: [],
};