-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
89 lines (88 loc) · 2.59 KB
/
tailwind.config.ts
File metadata and controls
89 lines (88 loc) · 2.59 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import type { Config } from "tailwindcss";
export default {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "class",
theme: {
extend: {
colors: {
// Brand colors - warm, bookish theme
brand: {
50: "#fdf8f3",
100: "#faf0e4",
200: "#f4ddc4",
300: "#eec5a0",
400: "#e4a468",
500: "#d98943",
600: "#c97238",
700: "#a75a30",
800: "#854a2d",
900: "#6c3e27",
950: "#3a1f13",
},
// Accent colors
accent: {
50: "#f0f9ff",
100: "#e0f2fe",
200: "#bae6fd",
300: "#7dd3fc",
400: "#38bdf8",
500: "#0ea5e9",
600: "#0284c7",
700: "#0369a1",
800: "#075985",
900: "#0c4a6e",
950: "#082f49",
},
},
fontFamily: {
sans: ["var(--font-plus-jakarta)", "system-ui", "sans-serif"],
serif: ["var(--font-lora)", "Georgia", "serif"],
display: ["var(--font-plus-jakarta)", "system-ui", "sans-serif"],
},
fontSize: {
"display-lg": ["3.5rem", { lineHeight: "1.1", fontWeight: "800" }],
"display-md": ["2.5rem", { lineHeight: "1.2", fontWeight: "700" }],
"display-sm": ["2rem", { lineHeight: "1.25", fontWeight: "700" }],
},
boxShadow: {
"glow-sm": "0 0 10px rgba(217, 137, 67, 0.3)",
"glow-md": "0 0 20px rgba(217, 137, 67, 0.4)",
"glow-lg": "0 0 30px rgba(217, 137, 67, 0.5)",
},
animation: {
"fade-in": "fadeIn 0.5s ease-in-out",
"fade-up": "fadeUp 0.6s ease-out",
"slide-in": "slideIn 0.4s ease-out",
"scale-in": "scaleIn 0.3s ease-out",
gradient: "gradient 8s linear infinite",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
fadeUp: {
"0%": { opacity: "0", transform: "translateY(20px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
slideIn: {
"0%": { transform: "translateX(-100%)" },
"100%": { transform: "translateX(0)" },
},
scaleIn: {
"0%": { transform: "scale(0.9)", opacity: "0" },
"100%": { transform: "scale(1)", opacity: "1" },
},
gradient: {
"0%, 100%": { backgroundPosition: "0% 50%" },
"50%": { backgroundPosition: "100% 50%" },
},
},
},
},
plugins: [],
} satisfies Config;