-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
40 lines (40 loc) · 1.11 KB
/
tailwind.config.js
File metadata and controls
40 lines (40 loc) · 1.11 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
matrix: {
green: '#00ff41',
darkgreen: '#008f11',
black: '#000000',
darkgray: '#0d1117',
}
},
animation: {
'matrix-rain': 'matrix-rain 20s linear infinite',
'glow': 'glow 2s ease-in-out infinite alternate',
'pulse-glow': 'pulse-glow 1.5s ease-in-out infinite',
},
keyframes: {
'matrix-rain': {
'0%': { transform: 'translateY(-100vh)' },
'100%': { transform: 'translateY(100vh)' }
},
'glow': {
'from': { textShadow: '0 0 3px #00ff41, 0 0 6px #00ff41' },
'to': { textShadow: '0 0 6px #00ff41, 0 0 12px #00ff41' }
},
'pulse-glow': {
'0%, 100%': { boxShadow: '0 0 2px #00ff41' },
'50%': { boxShadow: '0 0 8px #00ff41, 0 0 12px #008f11' }
}
}
},
},
plugins: [],
}