-
Notifications
You must be signed in to change notification settings - Fork 251
Expand file tree
/
Copy pathtailwind.config.js
More file actions
75 lines (75 loc) · 2.3 KB
/
Copy pathtailwind.config.js
File metadata and controls
75 lines (75 loc) · 2.3 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
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
'primary': 'var(--bg-primary)',
'secondary': 'var(--bg-secondary)',
'bg-primary': 'var(--bg-primary)',
'bg-secondary': 'var(--bg-secondary)',
'bg-tertiary': 'var(--bg-tertiary)',
'bg-elevated': 'var(--bg-elevated)',
'primary-text': 'var(--text-primary)',
'secondary-text': 'var(--text-secondary)',
'muted': 'var(--text-muted)',
'charcoal-dark': 'var(--bg-primary)',
charcoal: {
light: 'var(--bg-tertiary)',
DEFAULT: 'var(--bg-secondary)',
dark: 'var(--bg-primary)', /* mapped for backward compatibility */
},
silver: {
bright: 'var(--text-primary)',
DEFAULT: 'var(--text-secondary)',
dark: 'var(--text-muted)',
},
rag: {
red: '#ef4444',
amber: '#f59e0b',
'amber-bright': '#fbbf24',
green: '#10b981',
blue: '#1e88e5',
'blue-bright': '#3b82f6',
},
accent: {
silver: 'var(--accent-silver)'
}
},
fontFamily: {
mono: ['"IBM Plex Mono"', 'Menlo', 'monospace'],
sans: ['"Inter"', 'system-ui', 'sans-serif'],
serif: ['"Playfair Display"', 'Georgia', 'serif'],
},
animation: {
'fast-pulse': 'pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'snake': 'snake 2s linear infinite',
'fade-in': 'fadeIn 0.5s ease-out',
'glitch': 'glitch 1s infinite alternate',
},
keyframes: {
snake: {
'0%': { backgroundPosition: '0% 50%' },
'100%': { backgroundPosition: '100% 50%' }
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
},
glitch: {
'0%': { transform: 'translate(0)' },
'20%': { transform: 'translate(-2px, 2px)' },
'40%': { transform: 'translate(-2px, -2px)' },
'60%': { transform: 'translate(2px, 2px)' },
'80%': { transform: 'translate(2px, -2px)' },
'100%': { transform: 'translate(0)' }
}
}
},
},
plugins: [],
}