-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
255 lines (251 loc) · 6.82 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
import { addDynamicIconSelectors } from '@iconify/tailwind'
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.jsx"],
theme: {
extend: {
fontFamily: {
sans: ['"Microsoft YaHei UI"', 'sans-serif'],
// sans: ['LXGW WenKai', 'sans-serif'],
// 23272E
// 1EB44B
},
fontSize: {
'2xs': '.625rem',
'3xs': '.5rem',
'4xs': '.375rem',
'5xs': '.3125rem',
'6xs': '.25rem',
},
transitionDuration: {
'400': '400ms',
'350': '350ms',
},
colors: {
'custom': {
'main': '#22262D',
'main-2': '#24282F',
'main-3': '#25272C',
'text': '#B8B9B9',
'text-light': '#F4F5F7',
'text-blue': '#C7E0F7',
'titlebar': '#171D25',
'dropdown': '#3D4450',
'modal': '#171D25',
'stress': '#2A2D34',
'stress-1': '#24272C',
'stress-2': '#2A3038',
'focus': '#25272C',
'green': '#4FC830',
'blue-2': '#38709A',
'blue-3': '#1B2838',
'blue-4': '#2995D8',
'blue-6': '#1A9FFF',
'red': '#E22A27',
'hover': '#3D4450',
'blue-5': '#3E4E69',
},
'chestnut': {
'50': '#fdf4f3',
'100': '#faece9',
'200': '#f6d8d5',
'300': '#eeb8b3',
'400': '#e39089',
'500': '#d5635e',
'600': '#c14343',
'700': '#a03032',
'800': '#872a30',
'900': '#74272e',
'950': '#401114',
},
'athens-gray': {
'50': '#f5f7f9',
'100': '#eceff4',
'200': '#d6dde7',
'300': '#b9c5d7',
'400': '#97a9c3',
'500': '#7e8fb3',
'600': '#6c7ba4',
'700': '#606b95',
'800': '#525a7b',
'900': '#454b63',
'950': '#2d303e',
},
'bule-white': {
'50': '#EEF3FD'
},
'white3': {
'0': '#FCFEFF',
'50': '#F8FBFF'
}
},
zIndex: {
'1000': '1000',
},
width: {
'1/20': '5%',
'1/30': '3.333333%',
'1/40': '2.5%',
'1/16': '6.25%',
'54': '13.5rem',
'87': '21.75rem',
"100": "25rem",
"170": "42.5rem",
"270": "67.5rem",
'4.5': '1.125rem',
'6.5': '1.625rem',
'13': '3.25rem',
},
boxShadow: {
'inner-sm': 'inset 0 1px 2px 0 rgba(0, 0, 0, 0.05)',
'inner-md': 'inset 0 4px 6px -1px rgba(0, 0, 0, 0.1)',
'inner-lg': 'inset 0 10px 15px -3px rgba(0, 0, 0, 0.1)',
'inner-xl': 'inset 0 20px 25px -5px rgba(0, 0, 0, 0.1)',
'inner-2xl': 'inset 0 25px 50px -12px rgba(0, 0, 0, 0.25)',
},
spacing: {
"58": "14.5rem",
"59": "14.75rem",
"65": "16.25rem",
"67": "16.75rem",
"77": "19.25rem",
"82": "20.5rem",
"84": "21rem",
"86": "21.5rem",
"88": "22rem",
"90": "22.5rem",
"92": "23rem",
"94": "23.5rem",
"96": "24rem",
"98": "24.5rem",
"100": "25rem",
"102": "25.5rem",
"104": "26rem",
"106": "26.5rem",
"108": "27rem",
"110": "27.5rem",
"112": "28rem",
"114": "28.5rem",
"116": "29rem",
"118": "29.5rem",
"120": "30rem",
"140": "35rem",
"160": "40rem",
"165": "41.25rem",
"170": "42.5rem",
},
scale: {
'101': '1.01',
'103': '1.03',
},
height: {
'1/10': '10%',
'1/9': '11.111111%',
'1/8': '12.5%',
'1/7': '14.285714%',
'120': '30rem',
'4.5': '1.125rem',
'13': '3.25rem',
'61': '15.25rem',
'6.5': '1.625rem',
'62': '15.5rem',
},
translate: {
'0.5': '0.125rem',
},
borderWidth: {
'0.5': '0.5px',
'1': '1px',
'3': '3px',
},
gridTemplateRows: {
'15': 'repeat(15, minmax(0, 1fr))',
'16': 'repeat(16, minmax(0, 1fr))',
'17': 'repeat(17, minmax(0, 1fr))',
'23': 'repeat(23, minmax(0, 1fr))',
'25': 'repeat(25, minmax(0, 1fr))',
'26': 'repeat(26, minmax(0, 1fr))',
},
gridTemplateColumns: {
'15': 'repeat(15, minmax(0, 1fr))',
'17': 'repeat(17, minmax(0, 1fr))',
'13': 'repeat(13, minmax(0, 1fr))',
'23': 'repeat(23, minmax(0, 1fr))',
'26': 'repeat(26, minmax(0, 1fr))',
},
gridColumnStart: {
'13': '13',
'14': '14',
'15': '15',
'16': '16',
'17': '17',
'18': '18',
'19': '19',
'20': '20',
'21': '21',
'22': '22',
'23': '23',
'24': '24',
'25': '25',
'26': '26',
'27': '27',
},
gridColumnEnd: {
'13': '13',
'14': '14',
'15': '15',
'16': '16',
'17': '17',
'18': '18',
'19': '19',
'20': '20',
'21': '21',
'22': '22',
'23': '23',
'24': '24',
'25': '25',
'26': '26',
'27': '27',
'28': '28',
},
gridRow: {
'span-16': 'span 16 / span 16',
'span-17': 'span 17 / span 17',
'span-18': 'span 18 / span 18',
'span-19': 'span 19 / span 19',
'span-20': 'span 20 / span 20',
'span-21': 'span 21 / span 21',
'span-22': 'span 22 / span 22',
'span-23': 'span 23 / span 23',
'span-24': 'span 24 / span 24',
'span-25': 'span 25 / span 25',
}
}
},
plugins: [
require('daisyui'),
require('tailwind-scrollbar')({ nocompatible: true, preferredStrategy: 'pseudoelements' }),
addDynamicIconSelectors(),
],
daisyui: {
// themes: ["light", "dark"],
// styled: false,
themes: [
{
light: {
...require("daisyui/src/theming/themes")["dark"],
"--rounded-box": "0rem", // border radius rounded-box utility class, used in card and other large boxes
"--rounded-btn": "0rem", // border radius rounded-btn utility class, used in buttons and similar element
"--rounded-badge": "0rem", // border radius rounded-badge utility class, used in badges and similar
"--animation-btn": "0.25s", // duration of animation when you click on button
"--animation-input": "0.2s", // duration of animation for inputs like checkbox, toggle, radio, etc
"--btn-focus-scale": "0.95", // scale transform of button when you focus on it
"--border-btn": "1px", // border width of buttons
"--tab-border": "1px", // border width of tabs
"--tab-radius": "0rem", // border radius of tabs
},
}, "dark"
],
},
important: true,
}