-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindi.config.js
61 lines (59 loc) · 1.38 KB
/
windi.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
import { defineConfig } from 'windicss/helpers'
const chineseFont = [
'STHeiti',
'pingfang sc',
'wenquanyi micro hei',
'microsoft yahei'
]
export default defineConfig({
theme: {
extend: {
colors: {
red: {
800: '#be223a',
highlight: 'rgba(255,255,255,.05)'
}
},
fontFamily: {
sans: [
'DASH',
'var(--font-josefin-sans)',
'-apple-system',
'BlinkMacSystemFont',
'helvetica neue',
'Helvetica',
'Tahoma',
'Arial',
...chineseFont,
'sans-serif'
],
mono: ['var(--font-fira-code)', 'monospace'],
content: [
'DASH',
'var(--font-merriweather)',
'var(--font-josefin-sans)',
...chineseFont,
'-apple-system',
'BlinkMacSystemFont',
'Times New Roman',
'Times',
'serif'
]
},
boxShadow: {
'main': 'rgba(1,1,1,.2) 0 10px 20px',
'nav-active': 'rgba(0,0,0,.15) 0 10px 15px',
'nav-hover': 'rgba(0,0,0,.2) 0 10px 15px'
}
}
},
extract: {
include: ['./src/**/*.{html,jsx,tsx,js,ts}'],
exclude: ['node_modules', '.git', '.next']
},
plugins: [
require('windicss/plugin/filters'),
require('windicss/plugin/aspect-ratio'),
require('windicss/plugin/line-clamp')
]
})