-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
103 lines (103 loc) · 2.75 KB
/
tailwind.config.js
File metadata and controls
103 lines (103 loc) · 2.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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
},
colors: {
primary: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
},
// Custom black and white theme colors
theme: {
bg: {
primary: '#ffffff',
secondary: '#f8fafc',
tertiary: '#f1f5f9',
card: '#ffffff',
cardHover: '#f8fafc',
},
text: {
primary: '#0f172a',
secondary: '#475569',
tertiary: '#64748b',
muted: '#94a3b8',
},
border: {
primary: '#e2e8f0',
secondary: '#cbd5e1',
accent: '#3b82f6',
},
accent: {
primary: '#3b82f6',
secondary: '#1e40af',
muted: '#dbeafe',
},
},
// Dark theme colors
dark: {
bg: {
primary: '#0f172a',
secondary: '#1e293b',
tertiary: '#334155',
card: '#1e293b',
cardHover: '#334155',
},
text: {
primary: '#f8fafc',
secondary: '#cbd5e1',
tertiary: '#94a3b8',
muted: '#64748b',
},
border: {
primary: '#334155',
secondary: '#475569',
accent: '#60a5fa',
},
accent: {
primary: '#60a5fa',
secondary: '#93c5fd',
muted: '#1e3a8a',
},
},
},
animation: {
'fade-in': 'fadeIn 0.5s ease-in-out',
'slide-up': 'slideUp 0.5s ease-out',
'bounce-slow': 'bounce 2s infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
},
boxShadow: {
'soft': '0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04)',
'medium': '0 4px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
'soft-dark': '0 2px 15px -3px rgba(0, 0, 0, 0.3), 0 10px 20px -2px rgba(0, 0, 0, 0.2)',
'medium-dark': '0 4px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2)',
},
},
},
plugins: [],
}