-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
63 lines (63 loc) · 1.82 KB
/
Copy pathtailwind.config.js
File metadata and controls
63 lines (63 loc) · 1.82 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,jsx,ts,tsx}",
"./src/components/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
colors: {
// Dark mode programmer theme
dark: {
bg: '#0f172a',
'bg-secondary': '#1e293b',
'bg-tertiary': '#334155',
},
accent: {
cyan: '#06b6d4',
blue: '#3b82f6',
'blue-light': '#60a5fa',
},
text: {
primary: '#f1f5f9',
secondary: '#cbd5e1',
muted: '#94a3b8',
}
},
fontFamily: {
sans: ['Inter', 'system-ui', '-apple-system', 'sans-serif'],
mono: ['JetBrains Mono', 'Consolas', 'monospace'],
},
boxShadow: {
'glow-cyan': '0 0 20px rgba(6, 182, 212, 0.3)',
'glow-blue': '0 0 20px rgba(59, 130, 246, 0.3)',
'soft': '0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2)',
},
animation: {
'fade-in': 'fadeIn 0.6s ease-out',
'slide-up': 'slideUp 0.6s ease-out',
'slide-down': 'slideDown 0.6s ease-out',
'glow': 'glow 2s ease-in-out infinite alternate',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
slideDown: {
'0%': { transform: 'translateY(-20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
glow: {
'0%': { boxShadow: '0 0 5px rgba(6, 182, 212, 0.5)' },
'100%': { boxShadow: '0 0 20px rgba(6, 182, 212, 0.8)' },
},
},
},
},
plugins: [],
}