-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
65 lines (64 loc) · 1.59 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
const colors = require("tailwindcss/colors");
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
fontFamily: {
quicksand: "Quicksand, sans-serif",
"playfair-display": "Playfair Display, sans-serif",
},
colors: {
primary: "#F4F3F1",
secondary: {
500: "#191818",
700: "#727272",
},
accent: {
400: "#E3400D",
500: "#F25524",
700: "#F6805B",
},
},
animationDelay: {
0: "0ms",
200: "200ms",
1000: "1000ms",
5000: "5000ms",
},
extend: {
animation: {
"fade-in": "fade 750ms ease-out forwards",
"fade-in-short": "fade 500ms ease-out forwards",
},
keyframes: (_) => ({
fade: {
"0%": { opacity: 0 },
"100%": { opacity: 1 },
},
pulse: {
"0%": { opacity: 1 },
"50%": { opacity: 0.3 },
"100%": { opacity: 1 },
},
bounce: {
"0%": {
opacity: 1,
transform: "translateY(-25%)",
"animation-timing-function": "cubic-bezier(0.8,0,1,1)",
},
"50%": {
opacity: 1,
transform: "none",
"animation-timing-function": "cubic-bezier(0,0,0.2,1)",
},
"100%": {
opacity: 1,
transform: "translateY(-25%)",
"animation-timing-function": "cubic-bezier(0.8,0,1,1)",
},
},
}),
},
},
plugins: [require("tailwindcss-animation-delay")],
};