-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
70 lines (69 loc) · 2.03 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
const config: Config = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['var(--jakartaSans-font)'],
sora: ['var(--soraSans-font)'],
code: ['var(--firaCode-font)'],
zheng: ['var(--maShanZheng-font)'],
emoji: ['Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'],
},
colors: {
darkText: '#E4E6EB',
dark: '#121212',
blackText: '#4A4A4A',
light: '#fafafa',
lightGray: '#f3f3f3',
mdGray: '#ececec',
bgDefault: '#F9FAFC',
mdDarkGrayText: '#8D8D8D',
darkGray: '#C7C7C7',
darkRed: '#841710',
},
maxWidth: {
'1/2': '50%',
'3/4': '75%',
'4/5': '80%',
'9/10': '90%',
},
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')],
};
export default config;