-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathtailwind.config.backup.js
More file actions
154 lines (154 loc) · 4.75 KB
/
tailwind.config.backup.js
File metadata and controls
154 lines (154 loc) · 4.75 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
// Force dark mode always - class is on html element
darkMode: 'class',
theme: {
extend: {
colors: {
// Brand color - white for dark background
brand: {
50: '#fafafa',
100: '#f5f5f5',
200: '#e5e5e5',
300: '#d4d4d4',
400: '#a3a3a3',
500: '#ffffff',
600: '#e5e5e5',
700: '#d4d4d4',
800: '#a3a3a3',
900: '#737373',
},
// Override neutral to near-black tones for clean dark look
neutral: {
50: '#fafafa',
100: '#f5f5f5',
200: '#e5e5e5',
300: '#d4d4d4',
400: '#a3a3a3',
500: '#737373',
600: '#1a1a1a',
700: '#141414',
800: '#0a0a0a',
900: '#050505',
950: '#000000',
},
// Override gray to near-black
gray: {
50: '#fafafa',
100: '#f5f5f5',
200: '#e5e5e5',
300: '#d4d4d4',
400: '#a3a3a3',
500: '#737373',
600: '#1a1a1a',
700: '#141414',
800: '#0a0a0a',
900: '#050505',
950: '#000000',
},
// Override slate to near-black
slate: {
50: '#fafafa',
100: '#f5f5f5',
200: '#e5e5e5',
300: '#d4d4d4',
400: '#a3a3a3',
500: '#737373',
600: '#1a1a1a',
700: '#141414',
800: '#0a0a0a',
900: '#050505',
950: '#000000',
},
},
fontFamily: {
sans: ['Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'sans-serif'],
},
fontSize: {
display: ['3.5rem', { lineHeight: '1.1', letterSpacing: '-0.02em' }],
headline: ['2.25rem', { lineHeight: '1.2', letterSpacing: '-0.02em' }],
title: ['1.5rem', { lineHeight: '1.3', letterSpacing: '-0.01em' }],
body: ['1rem', { lineHeight: '1.6' }],
caption: ['0.875rem', { lineHeight: '1.5' }],
tiny: ['0.75rem', { lineHeight: '1.4' }],
},
spacing: {
18: '4.5rem',
88: '22rem',
100: '25rem',
120: '30rem',
},
borderRadius: {
none: '0',
sm: '0.125rem',
DEFAULT: '0.25rem',
md: '0.375rem',
lg: '0.5rem',
xl: '0.75rem',
'2xl': '1rem',
'3xl': '1.5rem',
'4xl': '2rem',
full: '9999px',
},
boxShadow: {
// Subtle card shadows for dark theme
soft: '0 1px 3px rgba(255, 255, 255, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.05)',
card: '0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 16px rgba(0, 0, 0, 0.4)',
'card-hover': '0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.5)',
glow: '0 0 15px rgba(255, 255, 255, 0.08)',
'glow-lg': '0 0 30px rgba(255, 255, 255, 0.1)',
// Elevated card with border glow
elevated: '0 0 0 1px rgba(255, 255, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.5)',
'elevated-hover': '0 0 0 1px rgba(255, 255, 255, 0.15), 0 8px 30px rgba(0, 0, 0, 0.6)',
},
animation: {
'fade-in': 'fadeIn 0.3s ease-out',
'fade-in-up': 'fadeInUp 0.4s ease-out',
'slide-in': 'slideInRight 0.3s ease-out',
'bounce-subtle': 'bounce-subtle 2s ease-in-out infinite',
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
fadeIn: 'fadeIn 0.5s ease-out forwards',
slideUp: 'slideUp 0.5s ease-out forwards',
scaleIn: 'scaleIn 0.3s ease-out forwards',
shimmer: 'shimmer 2s infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeInUp: {
'0%': { opacity: '0', transform: 'translateY(10px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
slideInRight: {
'0%': { opacity: '0', transform: 'translateX(20px)' },
'100%': { opacity: '1', transform: 'translateX(0)' },
},
slideUp: {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
scaleIn: {
'0%': { opacity: '0', transform: 'scale(0.9)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
shimmer: {
'100%': { transform: 'translateX(100%)' },
},
'bounce-subtle': {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-4px)' },
},
},
transitionDuration: {
400: '400ms',
},
backdropBlur: {
xs: '2px',
},
},
},
plugins: [],
};