-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
144 lines (135 loc) · 4.97 KB
/
Copy pathtailwind.config.js
File metadata and controls
144 lines (135 loc) · 4.97 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.rs",
"./index.html"
],
safelist: [
{
pattern: /prose/,
variants: ['lg', 'md', 'sm', 'hover'],
},
'prose-invert',
'max-w-none',
],
theme: {
extend: {
// ========================================
// Colores Cyberpunk Neon
// ========================================
colors: {
// Primario - Cyan Neon
'primary': '#00FFFF',
'primary-dark': '#00CCCC',
'primary-light': '#66FFFF',
// Secundarios - Acentos Neon
'secondary-pink': '#FF00FF',
'secondary-purple': '#9D00FF',
'secondary-orange': '#FF6600',
// Fondos - Dark Mode
'bg-primary': '#0A0A0F',
'bg-secondary': '#12121A',
'bg-tertiary': '#1A1A25',
'bg-card': 'rgba(20, 20, 30, 0.7)',
'bg-elevated': '#1E1E2E',
'bg-element': '#1E1E2E',
// Texto
'text-primary': '#FFFFFF',
'text-secondary': '#B0B0C0',
'text-muted': '#6B6B7B',
'secondary': '#B0B0C0',
'muted': '#6B6B7B',
// Estados
'success': '#00FF88',
'warning': '#FFB800',
'error': '#FF3366',
},
// ========================================
// Tipografía Cyberpunk
// ========================================
fontFamily: {
'display': ['Orbitron', 'sans-serif'],
'body': ['Inter', 'system-ui', 'sans-serif'],
'mono': ['JetBrains Mono', 'Fira Code', 'monospace'],
},
// ========================================
// Sombras Glow Neon
// ========================================
boxShadow: {
'glow-sm': '0 0 10px rgba(0, 255, 255, 0.3)',
'glow-md': '0 0 20px rgba(0, 255, 255, 0.4)',
'glow-lg': '0 0 30px rgba(0, 255, 255, 0.5), 0 0 60px rgba(0, 255, 255, 0.3)',
'neon': '0 0 10px #00FFFF40, inset 0 0 10px #00FFFF20',
},
// ========================================
// Animaciones Cyberpunk
// ========================================
animation: {
'glitch': 'glitch 3s infinite',
'glitch-1': 'glitch-1 0.3s infinite',
'glitch-2': 'glitch-2 0.3s infinite',
'glow-pulse': 'glow-pulse 2s ease-in-out infinite',
'text-glow': 'text-glow-pulse 2s ease-in-out infinite',
'float': 'float 3s ease-in-out infinite',
'float-delayed': 'float 3s ease-in-out infinite 1.5s',
'spin-slow': 'spin 8s linear infinite',
'pulse-slow': 'pulse 3s ease-in-out infinite',
'shine': 'shine 0.5s ease-out forwards',
'scroll-indicator': 'scroll-indicator 1.5s ease-in-out infinite',
'flicker': 'flicker 5s linear infinite',
},
keyframes: {
'glitch': {
'0%, 90%, 100%': { transform: 'translate(0)', filter: 'none' },
'92%': { transform: 'translate(-2px, 1px)', filter: 'hue-rotate(90deg)' },
'94%': { transform: 'translate(2px, -1px)', filter: 'hue-rotate(-90deg)' },
'96%': { transform: 'translate(-1px, 2px)' },
'98%': { transform: 'translate(1px, -2px)', filter: 'saturate(2)' },
},
'glitch-1': {
'0%, 100%': { transform: 'translate(0)' },
'20%': { transform: 'translate(-2px, 2px)' },
'40%': { transform: 'translate(-2px, -2px)' },
'60%': { transform: 'translate(2px, 2px)' },
'80%': { transform: 'translate(2px, -2px)' },
},
'glitch-2': {
'0%, 100%': { transform: 'translate(0)' },
'20%': { transform: 'translate(2px, -2px)' },
'40%': { transform: 'translate(2px, 2px)' },
'60%': { transform: 'translate(-2px, -2px)' },
'80%': { transform: 'translate(-2px, 2px)' },
},
'glow-pulse': {
'0%, 100%': { boxShadow: '0 0 10px #00FFFF40, 0 0 20px #00FFFF20' },
'50%': { boxShadow: '0 0 20px #00FFFF60, 0 0 40px #00FFFF40, 0 0 60px #00FFFF20' },
},
'text-glow-pulse': {
'0%, 100%': { textShadow: '0 0 10px rgba(0, 255, 255, 0.5)' },
'50%': { textShadow: '0 0 20px rgba(0, 255, 255, 0.5), 0 0 40px rgba(0, 255, 255, 0.5)' },
},
'float': {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
'shine': {
'from': { transform: 'translateX(-100%)' },
'to': { transform: 'translateX(100%)' },
},
'scroll-indicator': {
'0%, 100%': { opacity: '1', transform: 'translateY(0)' },
'50%': { opacity: '0.5', transform: 'translateY(4px)' },
},
'flicker': {
'0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100%': { opacity: '1' },
'20%, 21.999%, 63%, 63.999%, 65%, 69.999%': { opacity: '0.4' },
},
},
// Backdrop blur
backdropBlur: {
xs: '2px',
},
},
},
plugins: [],
}