-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
57 lines (54 loc) · 1.27 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.tsx"
],
theme: {
fontFamily: {
'sans': ['Inter', 'sans-serif'],
'title': ['Roboto', 'sans-serif']
},
extend: {
backgroundImage: {
'stats': 'url(/stats.jpg)'
},
screens: {
'xs': '400px'
},
keyframes: {
width: {
'0%, 100%': { width: 0 },
'100%': { width: '48px' }
},
bouncing: {
'0%, 100%': {
'transform': 'translate(-50%, -5%)',
'animation-timing-function': 'cubic-bezier(0.8, 0, 1, 1)'
},
'50%': {
'transform': 'translate(-50%, 0)',
'animation-timing-function': 'cubic-bezier(0, 0, 0.2, 1)'
}
},
loader: {
"to": {
"opacity": "0.1",
"transform": "translate3d(0,-1rem,0)"
}
},
fadeOut: {
"to": {
"opacity": "0"
}
}
},
animation: {
"width": 'width 2s linear alternate infinite',
'bounce-slow': 'bouncing 3s alternate infinite',
"loader": "loader 0.6s infinite alternate",
"fadeOff": "fadeOut 700s finite"
}
},
},
plugins: [],
}