-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathtailwind.config.js
64 lines (64 loc) · 1.71 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
module.exports = {
mode: 'jit',
darkMode: 'class',
variants: {
extend: {
boxShadow: ['dark'],
},
},
theme: {
extend: {
keyframes: {
'linear-bounce': {
'0%, 100%': {
transform: 'translateX(25%)',
'animation-timing-function': 'cubic-bezier(0.8, 0, 1, 1)',
},
'50%': {
transform: 'translateX(0)',
'animation-timing-function': 'cubic-bezier(0, 0, 0.2, 1)',
},
},
wiggle: {
'0%, 100%': { transform: 'rotate(-10deg)' },
'50%': { transform: 'rotate(10deg)' },
},
},
},
maxHeight: {
'screen--nav': 'calc(100vh - 7rem)',
},
container: {
center: true,
},
animation: {
'linear-bounce': 'linear-bounce 1s linear infinite',
wiggle: 'wiggle 1s linear infinite',
},
zIndex: {
1: 1,
2: 2,
10: 10,
11: 11,
},
minHeight: {
80: '20rem',
},
translate: {
'-screen': '-100vh',
},
boxShadow: {
DEFAULT:
'0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
'2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
'3xl': '0 35px 60px -15px rgba(0, 0, 0, 0.3)',
inner: 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',
dark: '0 5px 10px -3px rgba(255, 255, 255, 0.1), 0 4px 6px -2px rgba(255, 255, 255, 0.05)',
none: 'none',
},
},
plugins: [require('@tailwindcss/forms')],
}