forked from unifralabs/scroll-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
windi.config.ts
56 lines (55 loc) · 1.16 KB
/
windi.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
import { defineConfig } from 'windicss/helpers'
export default defineConfig({
preflight: false,
attributify: true,
extract: {
include: ['**/*.{jsx,tsx,css}'],
exclude: ['node_modules', '.git', '.next']
},
theme: {
extend: {
colors: {
page: '#f1f2f2',
main: '#cb8158',
lightMain: '#f3ccb6',
darkMain: '#A7570F',
red: '#ff4d4f',
lightRed: '#fff1f0',
green: '#00c29e',
lightGreen: '#e6f9f5',
orange: '#f9761a',
lightOrange: '#f9761a1a',
secondText: '#4C506B',
border: '#e7e7e7'
},
spacing: {
fit: 'fit-content',
4: '4px',
8: '8px',
12: '12px',
16: '16px',
24: '24px',
32: '32px'
},
borderRadius: {
4: '4px',
8: '8px',
12: '12px'
},
lineHeight: {
24: '24px',
32: '32px'
}
},
fontSize: {
12: '12px',
14: '14px',
16: '16px',
24: '24px'
}
},
shortcuts: {
flexCenter: 'flex justify-center items-center',
ellipsis: 'w-full whitespace-nowrap overflow-hidden overflow-ellipsis'
}
})