-
Notifications
You must be signed in to change notification settings - Fork 2
/
windi.config.js
99 lines (96 loc) · 2.85 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
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
const colors = require('windicss/colors')
const typography = require('windicss/plugin/typography')
const forms = require('windicss/plugin/forms')
module.exports = {
attributify: true,
extract: {
include: [
'layouts/**/*.htm',
'pages/**/*.htm',
'partials/**/*.htm',
],
},
safelist: [
'prose', 'prose-sm','prose-md', 'prose-lg'
],
darkMode: false,
theme: {
container: {
center: true,
padding: {
'DEFAULT': '1rem',
'sm': '1rem',
'md': '4rem',
'lg': '4rem',
'xl': '8rem',
'2xl': '12rem',
},
},
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
white: colors.white,
black: colors.black,
base: {
100: colors.gray[100],
200: colors.gray[200],
300: colors.gray[400],
content: colors.gray[500],
},
primary: {
DEFAULT: colors.orange[600],
focus: colors.orange[700],
content: colors.orange[50],
},
secondary: {
DEFAULT: colors.lime[500],
focus: colors.lime[600],
content: colors.lime[50],
},
accent: {
DEFAULT: colors.amber[400],
focus: colors.amber[500],
content: colors.amber[50],
},
neutral: {
DEFAULT: colors.gray[600],
focus: colors.gray[800],
content: colors.gray[50],
},
info: {
DEFAULT: colors.lightBlue[500],
},
success: {
DEFAULT: colors.lime[500],
},
warning: {
DEFAULT: colors.yellow[400],
},
error: {
DEFAULT: colors.red[600],
},
},
typography: {
DEFAULT: {
css: {
maxWidth: '100%',
color: 'inherit',
p: {
color: 'inherit'
},
strong: {
color: 'inherit',
},
},
},
}
},
fontFamily: {
sans: ['Noto Sans JP', 'Biryani', 'Maven Pro'],
poppins: ['Poppins'],
rubik: ['Rubik'],
},
},
plugins: [typography, forms],
};