-
Notifications
You must be signed in to change notification settings - Fork 1
/
windi.config.js
55 lines (54 loc) · 1.07 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
import { defineConfig } from 'windicss/helpers'
import colors from 'windicss/colors'
import heropatterns from '@windicss/plugin-heropatterns'
export default defineConfig({
attributify: {
prefix: 'w',
},
extract: {
include: ['index.html', 'src/**/*.{vue,html,jsx,tsx}'],
exclude: ['node_modules/**/*', '.git/**/*'],
},
darkMode: 'class',
theme: {
fontFamily: {
sans: ['Roboto', 'sans-serif'],
serif: ['Merriweather', 'serif'],
},
colors: {
...colors,
dark: {
...colors.dark,
},
primary: {
...colors.sky,
},
secondary: {
...colors.violet,
},
success: {
...colors.green,
},
danger: {
...colors.red,
},
warning: {
...colors.yellow,
},
},
screens: {
'2xs': '320px',
xs: '384px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
},
},
plugins: [
heropatterns({
patterns: ['bubbles', 'signal', 'circuit-board'],
includeThemeColors: true,
}),
],
})