-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
71 lines (69 loc) · 1.83 KB
/
Copy pathtailwind.config.ts
File metadata and controls
71 lines (69 loc) · 1.83 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
import type { Config } from "tailwindcss";
const config: Config = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
extend: {
fontFamily: {
display: ['"Instrument Serif"', "Georgia", "serif"],
sans: ["Inter", "system-ui", "sans-serif"],
mono: ['"JetBrains Mono"', "Menlo", "monospace"],
},
colors: {
surface: {
0: "#09090b",
1: "#0f0f13",
2: "#18181b",
3: "#1e1e24",
4: "#27272a",
},
accent: {
DEFAULT: "#a78bfa",
50: "#f5f3ff",
100: "#ede9fe",
200: "#ddd6fe",
300: "#c4b5fd",
400: "#a78bfa",
500: "#8b5cf6",
600: "#7c3aed",
700: "#6d28d9",
},
glow: {
violet: "rgba(139, 92, 246, 0.15)",
blue: "rgba(59, 130, 246, 0.15)",
rose: "rgba(244, 63, 94, 0.15)",
},
},
borderRadius: {
"2xl": "1rem",
"3xl": "1.5rem",
"4xl": "2rem",
},
animation: {
"fade-in": "fadeIn 0.6s ease-out forwards",
"slide-up": "slideUp 0.6s ease-out forwards",
"glow-pulse": "glowPulse 3s ease-in-out infinite",
float: "float 6s ease-in-out infinite",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
slideUp: {
"0%": { opacity: "0", transform: "translateY(20px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
glowPulse: {
"0%, 100%": { opacity: "0.4" },
"50%": { opacity: "1" },
},
float: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-10px)" },
},
},
},
},
plugins: [],
};
export default config;