-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
66 lines (66 loc) · 1.43 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
module.exports = {
mode: 'jit',
purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
screens: {
'2xs': '240px',
'xs': '468px',
'3xl': "2000px"
},
animation: {
'fadeOut': 'fadeOut 2s linear forwards',
'width': 'width 200ms linear forwards',
'shine': 'shine 700ms infinite'
},
keyframes: {
fadeOut: {
'from': {
opacity: '1',
PointerEvent: 'all',
},
'to': {
opacity: '0',
PointerEvent: 'none',
},
},
width: {
'0%': {
width: '0',
},
'50%': {
width: '5',
},
'100%': {
width: 'full',
}
},
shine: {
'0%': {
transform: 'translateX(-100%)'
},
'100%': {
transform: 'translateX(100%)'
}
}
},
backgroundImage: {
'photoSidebar': "url('/src/assets/backgroundPhotos.jpg')",
},
placeholderColor: {
'primary': '#3490dc',
'secondary': '#ffed4a',
'danger': '#e3342f',
}
},
},
variants: {
extend: {
placeholderColor: ['hover', 'active'],
},
animation: ['responsive', 'motion-safe', 'motion-reduce']
},
plugins: [],
important: true,
}