-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
68 lines (68 loc) · 2.12 KB
/
Copy pathtailwind.config.js
File metadata and controls
68 lines (68 loc) · 2.12 KB
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
dropShadow: {
closeButton: "0 8px 64px rgba(255, 255, 255, 0.45)",
},
colors: {
offwhite: "#FFFFE3",
accent: "#2E62FF",
},
fontFamily: {
serif: ['"Instrument Serif"', "Georgia", "serif"],
mono: ['"JetBrains Mono"', "Menlo", "Consolas", "monospace"],
},
animation: {
slideIn: "slideIn .4s ease-out",
slideOut: "slideOut .3s ease-out",
descriptionSlideIn: "descriptionSlideIn .35s ease-out",
galleryHeroSlideIn: "galleryHeroSlideIn .35s ease-out",
fadeIn: "fadeIn 1.3s ease-in-out",
fadeInFast: "fadeIn .3s ease-out",
blobSpin: "blobSpin 200s infinite",
marquee: "marquee 100s linear infinite",
buttonNotify: "buttonNotify 1s cubic-bezier(0.16, 1, 0.3, 1)",
},
keyframes: {
slideIn: {
"0%": { transform: "scale(0,1)" },
"100%": { transform: "scale(1,1)" },
},
slideOut: {
"0%": { transform: "scale(1,1)" },
"100%": { transform: "scale(0,1)" },
},
descriptionSlideIn: {
"0%": { opacity: "0", transform: "translate(0,32px)" },
"100%": { opacity: "100" },
},
galleryHeroSlideIn: {
"0%": { opacity: "0", transform: "translate(-8px,0px)" },
"100%": { opacity: "100" },
},
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "100" },
},
blobSpin: {
"0%": { transform: "rotate(0deg)" },
"100%": { transform: "rotate(360deg)" },
},
marquee: {
"0%": { transform: "translateX(-50%)" },
"100%": { transform: "translateX(0)" },
},
buttonNotify: {
"0%": { transform: "scale(1,1)", opacity: "5" },
"100%": { transform: "scale(1.5,1.5)", opacity: "0" },
},
transitionTimingFunction: {
"out-quint": "cubic-bezier(0.22, 1, 0.36, 1)",
},
},
},
},
plugins: [],
};