-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
90 lines (89 loc) · 2.93 KB
/
Copy pathtailwind.config.ts
File metadata and controls
90 lines (89 loc) · 2.93 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
90
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "var(--bg-primary)",
foreground: "var(--text-primary)",
brand: {
navy: "var(--accent)",
indigo: "var(--accent-light)",
dark: "var(--accent-dark)",
darker: "var(--accent-strong)",
surface: "var(--bg-secondary)",
},
neu: {
base: "var(--neu-base)",
dark: "var(--neu-dark)",
light: "var(--neu-light)",
},
},
fontFamily: {
sans: ["Inter", "sans-serif"],
mono: ["JetBrains Mono", "monospace"],
display: ["Syne", "sans-serif"],
},
animation: {
float: "float 6s ease-in-out infinite",
marquee: "marquee 25s linear infinite",
shimmer: "shimmer 1.6s ease-in-out infinite",
"pulse-glow": "pulse-glow 2s ease-in-out infinite",
"pulse-ring": "pulse-ring 2s ease-out infinite",
draw: "draw 2s ease forwards",
"fade-in-up": "fade-in-up 0.6s ease-out forwards",
"scale-in": "scale-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards",
"slide-in-right": "slide-in-right 0.5s ease-out forwards",
"bounce-soft": "bounce-soft 2.8s ease-in-out infinite",
},
keyframes: {
float: {
"0%, 100%": { transform: "translateY(0px)" },
"50%": { transform: "translateY(-12px)" },
},
marquee: {
"0%": { transform: "translateX(0%)" },
"100%": { transform: "translateX(-50%)" },
},
shimmer: {
"0%": { backgroundPosition: "-200% 0" },
"100%": { backgroundPosition: "200% 0" },
},
"pulse-glow": {
"0%, 100%": { boxShadow: "0 0 0px rgba(79, 70, 229, 0.15)" },
"50%": { boxShadow: "0 0 24px rgba(79, 70, 229, 0.5)" },
},
draw: {
from: { strokeDashoffset: "1" },
to: { strokeDashoffset: "0" },
},
"fade-in-up": {
from: { opacity: "0", transform: "translateY(20px)" },
to: { opacity: "1", transform: "translateY(0)" },
},
"scale-in": {
from: { opacity: "0", transform: "scale(0.92)" },
to: { opacity: "1", transform: "scale(1)" },
},
"slide-in-right": {
from: { opacity: "0", transform: "translateX(-30px)" },
to: { opacity: "1", transform: "translateX(0)" },
},
"pulse-ring": {
"0%": { transform: "scale(1)", opacity: "0.5" },
"100%": { transform: "scale(1.5)", opacity: "0" },
},
"bounce-soft": {
"0%, 100%": { transform: "translateY(0px)" },
"50%": { transform: "translateY(-14px)" },
},
},
},
},
plugins: [],
};
export default config;