-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
153 lines (153 loc) · 3.72 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
module.exports = {
safelist: process.env.NODE_ENV === 'development' ? [{ pattern: /.*/ }] : [],
darkMode: 'class',
content: ['./pages/**/*.{js,ts,jsx,tsx}', './src/components/**/*.{js,ts,jsx,tsx}'],
theme: {
fontFamily: {
inter: ['Inter', 'sans-serif'],
londrina: ['Londrina Solid', 'cursive'],
ptRootUI: ['PTRootUIWeb', 'sans-serif']
},
screens: {
xs: '440px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1140px'
},
colors: {
divider: '#DEE2E6',
transparent: 'transparent',
current: 'currentColor',
surface: '#121212',
primary: '#AAED4A',
secondary: {
blue: '#3772FF',
green: '#45B26B',
red: '#EF466F',
orange: '#FAA87A',
oranger: '#FA8F2F'
},
white: '#FFFFFF',
black: '#060E25',
gray: {
DEFAULT: '#E4E6E9',
0: '#FCFCFD',
0.5: '#FAFBFB',
1: '#F4F5F6',
2: '#E4E6E9',
3: '#8F97A3',
4: '#474C5C',
5: '#1F263B'
}
},
fontSize: {
px10: '10px',
px11: '11px',
px12: '12px',
px14: '14px',
px16: '16px',
px18: '18px',
px20: '20px',
px22: '22px',
px24: '24px',
px26: '26px',
px28: '28px',
px30: '30px',
px32: '32px',
px34: '34px',
px36: '36px',
px42: '42px',
px48: '48px',
px64: '64px'
},
lineHeight: {
px10: '10px',
px11: '11px',
px12: '12px',
px14: '14px',
px16: '16px',
px18: '18px',
px20: '20px',
px22: '22px',
px24: '24px',
px26: '26px',
px28: '28px',
px30: '30px',
px32: '32px',
px34: '34px',
px36: '36px',
px42: '42px',
px48: '48px',
px64: '64px'
},
fontWeight: {
100: 100,
200: 200,
300: 300,
400: 400,
500: 500,
600: 600,
700: 700,
800: 800,
900: 900
},
extend: {
borderRadius: {
px4: '4px',
px5: '5px',
px6: '6px',
px8: '8px',
px9: '9px',
px10: '10px',
px11: '11px',
px12: '12px',
px14: '14px',
px16: '16px',
px18: '18px',
px20: '20px',
px22: '22px',
px24: '24px',
px26: '26px',
px28: '28px',
px30: '30px',
px32: '32px',
px34: '34px',
px36: '36px',
px42: '42px',
px48: '48px',
px64: '64px'
},
animation: {
wiggle: 'wiggle 10s linear infinite',
in: 'animate-in 0.3s ease-out forwards',
out: 'animate-out 0.3s ease-in forwards',
float: 'float 5s ease-in-out infinite'
},
keyframes: {
wiggle: {
'0%': { backgroundPosition: 'center left 0px' },
'89.999%': { backgroundPosition: 'center left 0px' },
'90%': { backgroundPosition: 'center left -109px' },
'91.999%': { backgroundPosition: 'center left -109px' },
'92%': { backgroundPosition: 'center left 0px' },
'100%': { backgroundPosition: 'center left 0px' }
},
'animate-in': {
'0%': { transform: 'translate(0px, -40px)', opacity: '0' },
'100%': { transform: 'translate(0px, 0px)', opacity: '1' }
},
'animate-out': {
'0%': { transform: 'translate(0px, 0px)', opacity: '1' },
'100%': { transform: 'translate(0px, -40px)', opacity: '0' }
},
float: {
'0%': { transform: 'translate(0px, 0px)' },
'50%': { transform: 'translate(0px, 10px)' },
'100%': { transform: 'translate(0px, 0px)' }
}
}
}
},
plugins: [require('@headlessui/tailwindcss')({ prefix: 'ui' })]
}