-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
66 lines (64 loc) · 1.65 KB
/
Copy pathtailwind.config.ts
File metadata and controls
66 lines (64 loc) · 1.65 KB
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
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./app/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./config/**/*.{ts,tsx}',
],
theme: {
extend: {
colors: {
antom: {
primary: '#1677FF',
dark: '#0958D9',
accent: '#FAAD14',
},
// Neutral product-page palette.
ui: {
panel: '#f5f5f7',
ink: '#1d1d1f',
gray: '#6e6e73',
blue: '#0071e3',
'blue-hover': '#0077ed',
line: '#d2d2d7',
},
},
fontFamily: {
sans: [
'system-ui',
'BlinkMacSystemFont',
'SF Pro Display',
'SF Pro Text',
'Helvetica Neue',
'Alibaba PuHuiTi',
'sans-serif',
],
},
boxShadow: {
card: '0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06)',
},
keyframes: {
'fade-in-up': {
'0%': { opacity: '0', transform: 'translateY(8px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
'check-pop': {
'0%': { transform: 'scale(0.6)', opacity: '0' },
'60%': { transform: 'scale(1.08)', opacity: '1' },
'100%': { transform: 'scale(1)' },
},
},
animation: {
'fade-in-up': 'fade-in-up 0.4s cubic-bezier(0.22,1,0.36,1) both',
'fade-in': 'fade-in 0.35s ease both',
'check-pop': 'check-pop 0.5s cubic-bezier(0.22,1,0.36,1) both',
},
},
},
plugins: [],
};
export default config;