-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtailwind.config.js
57 lines (57 loc) · 1.2 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
DEFAULT: '#4f46e5',
light: '#6366f1',
hover: '#4338ca'
},
success: '#059669',
gray: {
50: '#f9fafb',
100: '#f3f4f6',
200: '#e5e7eb',
300: '#d1d5db',
400: '#9ca3af',
500: '#6b7280',
600: '#4b5563',
700: '#374151',
800: '#1f2937',
900: '#111827'
},
dark: {
bg: '#111827',
card: '#1f2937',
hover: '#374151'
}
},
animation: {
'fade-in': 'fadeIn 0.5s ease-out',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0', transform: 'translateY(10px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
}
},
fontFamily: {
sans: ['"Work Sans"', '"Noto Sans"', 'sans-serif']
},
opacity: {
'15': '0.15'
}
},
},
plugins: [
require('@tailwindcss/forms')({
strategy: 'class'
})
]
}