-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
tailwind.config.js
54 lines (54 loc) · 1.64 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
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['var(--onestSans-font)'],
sora: ['var(--soraSans-font)'],
onest: ['var(--onestSans-font)'],
code: ['var(--firaCode-font)'],
emoji: ['Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'],
},
colors: {
darkText: '#E4E6EB',
dark: '#121212',
light: '#fafafa',
},
keyframes: {
wave: {
'0%': { transform: 'rotate(0.0deg)' },
'10%': { transform: 'rotate(14deg)' },
'20%': { transform: 'rotate(-8deg)' },
'30%': { transform: 'rotate(14deg)' },
'40%': { transform: 'rotate(-4deg)' },
'50%': { transform: 'rotate(10.0deg)' },
'60%': { transform: 'rotate(0.0deg)' },
'100%': { transform: 'rotate(0.0deg)' },
},
flying: {
'0%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(0.5rem)' },
'100%': { transform: 'translateY(0)' },
},
badge: {
'100%': {
transform: 'scaleY(1.7) scaleX(1.25)',
opacity: '0',
},
},
loop: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-50%)' },
},
},
animation: {
'waving-hand': 'wave 2s linear infinite',
'flying-card': 'flying 3s infinite normal',
'badge-pulse': 'badge 1.5s ease-out infinite',
'looping-tag': 'loop 100s linear infinite',
},
},
},
plugins: [require('tailwind-scrollbar-hide')],
};