-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
77 lines (77 loc) · 1.89 KB
/
Copy pathtailwind.config.js
File metadata and controls
77 lines (77 loc) · 1.89 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
light: '#4F46E5',
dark: '#6366F1',
},
secondary: {
light: '#6B7280',
dark: '#9CA3AF',
},
background: {
light: '#FFFFFF',
dark: '#121212',
},
text: {
light: '#1F2937',
dark: '#F3F4F6',
},
accent: {
light: '#3B82F6',
dark: '#60A5FA',
},
error: {
light: '#EF4444',
dark: '#F87171',
},
warning: {
light: '#F59E0B',
dark: '#FBBF24',
},
info: {
light: '#3B82F6',
dark: '#60A5FA',
},
},
animation: {
'fade-in': 'fadeIn 0.3s ease-in-out',
'fade-out': 'fadeOut 0.3s ease-in-out',
'slide-in': 'slideIn 0.3s ease-in-out',
'slide-out': 'slideOut 0.3s ease-in-out',
'bounce-in': 'bounceIn 0.5s ease-in-out',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeOut: {
'0%': { opacity: '1' },
'100%': { opacity: '0' },
},
slideIn: {
'0%': { transform: 'translateY(-20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
slideOut: {
'0%': { transform: 'translateY(0)', opacity: '1' },
'100%': { transform: 'translateY(-20px)', opacity: '0' },
},
bounceIn: {
'0%': { transform: 'scale(0.8)', opacity: '0' },
'70%': { transform: 'scale(1.05)', opacity: '1' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
},
},
},
plugins: [],
}