-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
123 lines (121 loc) · 3.58 KB
/
tailwind.config.ts
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
import type { Config } from "tailwindcss";
export default {
darkMode: ["class"],
content: [
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
prefix: "",
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
colors: {
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
primary: {
DEFAULT: "rgb(63, 81, 181)", // Rich blue shade
foreground: "rgb(255, 255, 255)",
},
secondary: {
DEFAULT: "rgb(243, 244, 246)",
foreground: "rgb(17, 24, 39)",
},
accent: {
DEFAULT: "rgb(99, 102, 241)", // Consistent accent color for active state
foreground: "rgb(255, 255, 255)",
},
success: {
DEFAULT: "rgb(34, 197, 94)",
foreground: "rgb(255, 255, 255)",
},
destructive: {
DEFAULT: "rgb(239, 68, 68)",
foreground: "rgb(255, 255, 255)",
},
info: {
DEFAULT: "rgb(59, 130, 246)",
foreground: "rgb(255, 255, 255)",
},
warning: {
DEFAULT: "rgb(245, 158, 11)",
foreground: "rgb(255, 255, 255)",
},
muted: {
DEFAULT: "hsl(210 40% 96.1%)",
foreground: "hsl(215.4 16.3% 46.9%)",
},
card: {
DEFAULT: "rgb(255, 255, 255)",
foreground: "rgb(17, 24, 39)",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
keyframes: {
shimmer: {
"100%": {
transform: "translateX(100%)",
},
},
slideDown: {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
slideUp: {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
fadeIn: {
from: { opacity: "0" },
to: { opacity: "1" },
},
slideInRight: {
from: { transform: "translateX(100%)" },
to: { transform: "translateX(0)" },
},
pulse: {
"0%, 100%": { opacity: "1" },
"50%": { opacity: "0.5" },
},
bounce: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-5px)" },
},
},
animation: {
shimmer: "shimmer 2s infinite",
slideDown: "slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)",
slideUp: "slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)",
fadeIn: "fadeIn 300ms ease-out",
slideInRight: "slideInRight 300ms ease-out",
pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
bounce: "bounce 1s ease-in-out infinite",
},
boxShadow: {
card: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
dropdown: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
button: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
premium: "0 8px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02)",
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
heading: ['Poppins', 'sans-serif'],
},
},
},
plugins: [require("tailwindcss-animate")],
} satisfies Config;