-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
74 lines (73 loc) · 1.99 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
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
const plugin = require('tailwindcss/plugin');
module.exports = {
important: true,
mode: 'jit',
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
colors: {
'theme-white': 'rgb(234, 234, 234)',
'theme-blue-50': 'rgba(96,138,177,0.7)',
'theme-blue-100': 'rgba(96,138,177,0.8)',
'theme-black': 'rgb(32, 32, 35)',
},
keyframes: {
travelOrbit: {
'0%': {
transform: 'rotate(0deg)',
},
'100%': {
transform: 'rotate(360deg)',
},
},
unrotate: {
'0%': {
transform: 'rotate(0deg)',
},
'100%': {
transform: 'rotate(-360deg)',
},
},
cursorBlink: {
'0%': {
opacity: 0,
},
},
morph: {
'0%': {
'border-radius': '60% 40% 30% 70%/60% 30% 70% 40%',
},
'50%': {
'border-radius': '30% 60% 70% 40%/50% 60% 30% 60%',
},
'100%': {
'border-radius': '60% 40% 30% 70%/60% 30% 70% 40%',
},
},
},
animation: {
travelOrbit10: 'travelOrbit 10s infinite linear',
travelOrbit8: 'travelOrbit 8s infinite linear',
travelOrbit6: 'travelOrbit 6s infinite linear',
travelOrbit4: 'travelOrbit 4s infinite linear',
travelOrbit2: 'travelOrbit 2s infinite linear',
unrotate10: 'unrotate 10s infinite linear',
unrotate8: 'unrotate 8s infinite linear',
unrotate6: 'unrotate 6s infinite linear',
unrotate4: 'unrotate 4s infinite linear',
unrotate2: 'unrotate 2s infinite linear',
cursorBlink: 'cursorBlink 1.5s steps(2) infinite',
morph: 'morph 8s ease-in-out infinite',
},
},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
'.rotate3d': {
transform: 'rotate3d(60, 35, 0, 360deg)',
},
});
}),
],
};