-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
82 lines (82 loc) · 2.84 KB
/
Copy pathtailwind.config.js
File metadata and controls
82 lines (82 loc) · 2.84 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
chaos: {
bg: '#050508',
surface: '#0a0a0f',
card: '#0f0f16',
border: '#1a1a24',
'border-bright': '#2a2a3a',
accent: '#00ff88',
'accent-dim': '#00cc6a',
danger: '#ff3366',
warning: '#ffaa00',
notice: '#ffdd44',
cyan: '#00d4ff',
purple: '#a855f7',
},
},
fontFamily: {
sans: ['"Space Grotesk"', 'system-ui', 'sans-serif'],
mono: ['"JetBrains Mono"', 'ui-monospace', 'monospace'],
},
animation: {
glitch: 'glitch 0.3s ease-in-out',
'pulse-danger': 'pulse-danger 2s ease-in-out infinite',
'scan-line': 'scan-line 3s linear infinite',
'fade-up': 'fade-up 0.5s ease-out forwards',
shake: 'shake 0.4s ease-in-out',
'count-up': 'count-up 0.6s ease-out forwards',
flicker: 'flicker 0.15s ease-in-out infinite',
},
keyframes: {
glitch: {
'0%, 100%': { transform: 'translate(0)', filter: 'none' },
'20%': { transform: 'translate(-2px, 1px)', filter: 'hue-rotate(90deg)' },
'40%': { transform: 'translate(2px, -1px)', filter: 'hue-rotate(-90deg)' },
'60%': { transform: 'translate(-1px, 2px)' },
'80%': { transform: 'translate(1px, -2px)' },
},
'pulse-danger': {
'0%, 100%': { boxShadow: '0 0 0 0 rgba(255, 51, 102, 0.4)' },
'50%': { boxShadow: '0 0 0 8px rgba(255, 51, 102, 0)' },
},
'scan-line': {
'0%': { transform: 'translateY(-100%)' },
'100%': { transform: 'translateY(100vh)' },
},
'fade-up': {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
shake: {
'0%, 100%': { transform: 'translateX(0)' },
'25%': { transform: 'translateX(-4px) rotate(-1deg)' },
'75%': { transform: 'translateX(4px) rotate(1deg)' },
},
'count-up': {
'0%': { opacity: '0', transform: 'scale(0.5)' },
'60%': { transform: 'scale(1.1)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
flicker: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.8' },
},
},
backgroundImage: {
'grid-pattern':
'linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px)',
'radial-glow':
'radial-gradient(ellipse at 50% 0%, rgba(0,255,136,0.08) 0%, transparent 60%)',
},
backgroundSize: {
grid: '60px 60px',
},
},
},
plugins: [],
}