-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
164 lines (162 loc) · 6.51 KB
/
Copy pathtailwind.config.ts
File metadata and controls
164 lines (162 loc) · 6.51 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
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
import type { Config } from 'tailwindcss';
const config: Config = {
darkMode: 'class',
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
// Premium dark theme palette
background: {
DEFAULT: '#09090b',
secondary: '#0f0f12',
tertiary: '#18181b',
},
foreground: {
DEFAULT: '#fafafa',
muted: '#a1a1aa',
subtle: '#71717a',
},
primary: {
DEFAULT: '#8b5cf6',
hover: '#a78bfa',
glow: 'rgba(139, 92, 246, 0.4)',
50: '#f5f3ff',
100: '#ede9fe',
200: '#ddd6fe',
300: '#c4b5fd',
400: '#a78bfa',
500: '#8b5cf6',
600: '#7c3aed',
700: '#6d28d9',
800: '#5b21b6',
900: '#4c1d95',
},
accent: {
DEFAULT: '#06b6d4',
hover: '#22d3ee',
glow: 'rgba(6, 182, 212, 0.4)',
},
success: {
DEFAULT: '#10b981',
glow: 'rgba(16, 185, 129, 0.4)',
},
warning: {
DEFAULT: '#f59e0b',
glow: 'rgba(245, 158, 11, 0.4)',
},
error: {
DEFAULT: '#ef4444',
glow: 'rgba(239, 68, 68, 0.4)',
},
border: {
DEFAULT: 'rgba(255, 255, 255, 0.08)',
hover: 'rgba(255, 255, 255, 0.12)',
active: 'rgba(139, 92, 246, 0.5)',
},
glass: {
DEFAULT: 'rgba(255, 255, 255, 0.03)',
hover: 'rgba(255, 255, 255, 0.06)',
active: 'rgba(255, 255, 255, 0.08)',
},
},
fontFamily: {
sans: ['var(--font-inter)', 'system-ui', 'sans-serif'],
display: ['var(--font-outfit)', 'system-ui', 'sans-serif'],
mono: ['var(--font-mono)', 'monospace'],
},
fontSize: {
'2xs': ['0.625rem', { lineHeight: '0.875rem' }],
'display-lg': ['4rem', { lineHeight: '1.1', letterSpacing: '-0.02em' }],
'display-md': ['3rem', { lineHeight: '1.1', letterSpacing: '-0.02em' }],
'display-sm': ['2.25rem', { lineHeight: '1.2', letterSpacing: '-0.01em' }],
},
spacing: {
'18': '4.5rem',
'88': '22rem',
'112': '28rem',
'128': '32rem',
},
borderRadius: {
'4xl': '2rem',
'5xl': '2.5rem',
},
boxShadow: {
'glow-sm': '0 0 20px -5px var(--tw-shadow-color)',
'glow': '0 0 40px -10px var(--tw-shadow-color)',
'glow-lg': '0 0 60px -15px var(--tw-shadow-color)',
'inner-glow': 'inset 0 1px 0 0 rgba(255, 255, 255, 0.05)',
'card': '0 0 0 1px rgba(255, 255, 255, 0.05), 0 2px 4px rgba(0, 0, 0, 0.1), 0 12px 24px rgba(0, 0, 0, 0.1)',
'card-hover': '0 0 0 1px rgba(139, 92, 246, 0.3), 0 4px 8px rgba(0, 0, 0, 0.15), 0 16px 32px rgba(0, 0, 0, 0.15)',
},
animation: {
'fade-in': 'fadeIn 0.5s ease-out forwards',
'fade-up': 'fadeUp 0.5s ease-out forwards',
'fade-down': 'fadeDown 0.5s ease-out forwards',
'scale-in': 'scaleIn 0.3s ease-out forwards',
'slide-in-right': 'slideInRight 0.3s ease-out forwards',
'slide-in-left': 'slideInLeft 0.3s ease-out forwards',
'pulse-glow': 'pulseGlow 2s ease-in-out infinite',
'float': 'float 6s ease-in-out infinite',
'shimmer': 'shimmer 2s linear infinite',
'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)' },
},
fadeDown: {
'0%': { opacity: '0', transform: 'translateY(-20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
scaleIn: {
'0%': { opacity: '0', transform: 'scale(0.95)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
slideInRight: {
'0%': { opacity: '0', transform: 'translateX(20px)' },
'100%': { opacity: '1', transform: 'translateX(0)' },
},
slideInLeft: {
'0%': { opacity: '0', transform: 'translateX(-20px)' },
'100%': { opacity: '1', transform: 'translateX(0)' },
},
pulseGlow: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.6' },
},
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-20px)' },
},
shimmer: {
'0%': { backgroundPosition: '-200% 0' },
'100%': { backgroundPosition: '200% 0' },
},
gradient: {
'0%, 100%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
},
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
'gradient-mesh': 'url("/mesh-gradient.svg")',
'noise': 'url("/noise.png")',
},
backdropBlur: {
xs: '2px',
},
},
},
plugins: [],
};
export default config;