-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config
More file actions
53 lines (52 loc) · 1.38 KB
/
tailwind.config
File metadata and controls
53 lines (52 loc) · 1.38 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
display: ["'Afacad Flux'", "sans-serif"],
body: ["'Lato'", "sans-serif"],
heading: ["'Poppins'", "sans-serif"],
},
colors: {
yellow: {
base: "#f5e6a3",
card: "#f0d96e",
accent: "#e8c83a",
deep: "#c9a800",
text: "#5a4200",
muted: "#7a5e00",
},
},
keyframes: {
bloom: {
"0%": { transform: "scale(0.5)", opacity: "0" },
"100%": { transform: "scale(1)", opacity: "1" },
},
scroll: {
"0%": { transform: "translateY(0)" },
"100%": { transform: "translateY(-50%)" },
},
typewriter: {
from: { width: "0" },
to: { width: "100%" },
},
fadeIn: {
from: { opacity: "0", transform: "translateY(8px)" },
to: { opacity: "1", transform: "translateY(0)" },
},
},
animation: {
bloom: "bloom 0.8s ease-out forwards",
scroll: "scroll 20s linear infinite",
fadeIn: "fadeIn 0.6s ease-out forwards",
},
},
},
plugins: [],
};
export default config;