-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
40 lines (40 loc) · 1.08 KB
/
tailwind.config.js
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} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
matrix: {
primary: '#00EC97',
dark: '#001a1a',
light: '#66FFB2',
hover: '#00D989',
},
},
fontFamily: {
matrix: ['Matrix', 'Courier New', 'monospace'],
mono: ['Courier New', 'monospace'],
},
animation: {
'matrix-rain': 'matrix-rain 20s linear infinite',
'pulse-matrix': 'pulse-matrix 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'float': 'float 6s ease-in-out infinite',
},
keyframes: {
'matrix-rain': {
'0%': { transform: 'translateY(-100%)' },
'100%': { transform: 'translateY(100%)' },
},
'pulse-matrix': {
'0%, 100%': { opacity: 1 },
'50%': { opacity: .5 },
},
'float': {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
},
},
},
plugins: [],
};