-
Notifications
You must be signed in to change notification settings - Fork 2
/
windi.config.js
157 lines (149 loc) · 3.11 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
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
module.exports = {
purge: {
content: [
'./src/**/*.vue',
'./src/**/*.js',
'./src/**/*.jsx',
'./src/**/*.html',
'./src/**/*.pug',
'./src/**/*.md',
'./docs/**/*.md',
'./blog/**/*.md',
],
options: {
whitelist: [
'body',
'html',
'img',
'a',
'g-image',
'g-image--lazy',
'g-image--loaded',
'active',
],
},
},
theme: {
extend: {
darkMode: 'class',
spacing: {
80: '20rem',
108: '27rem',
},
borderWidth: {
14: '14px',
},
width: {
'1/7': '17.2857143%',
'2/7': '25.5714286%',
'3/7': '42.8571429%',
'4/7': '57.1428571%',
'5/7': '71.4285714%',
'6/7': '85.7142857%',
},
},
container: {
padding: '1rem',
},
colors: {
background: {
primary: 'var(--bg-background-primary)',
secondary: 'var(--bg-background-secondary)',
tertiary: 'var(--bg-background-tertiary)',
form: 'var(--bg-background-form)',
},
copy: {
primary: 'var(--text-copy-primary)',
secondary: 'var(--text-copy-hover)',
},
'border-color': {
primary: 'var(--border-border-color-primary)',
},
transparent: 'transparent',
black: '#000',
white: '#fff',
secondary: {
50: '#eeeef7',
100: '#cbcde7',
200: '#a8acd6',
300: '#868bc6',
400: '#636ab6',
500: '#4d55a5',
600: '#41478b',
700: '#313668',
800: '#212445',
900: '#101223',
},
primary: {
50: '#fef7e7',
100: '#fce6b6',
200: '#fbdd9d',
300: '#f9cc6c',
400: '#f7bb3b',
500: '#f6b21a',
600: '#f5ab0a',
700: '#c48808',
800: '#936606',
900: '#624404',
},
tertiary: {
50: '#FEF2F2',
100: '#FEE2E2',
200: '#FECACA',
300: '#FCA5A5',
400: '#F87171',
500: '#EF4444',
600: '#DC2626',
700: '#B91C1C',
800: '#991B1B',
900: '#7F1D1D',
},
gray: {
50: '#F9FAFB',
100: '#F3F4F6',
200: '#E5E7EB',
300: '#D1D5DB',
400: '#9CA3AF',
500: '#6B7280',
600: '#4B5563',
700: '#374151',
800: '#1F2937',
900: '#111827',
},
},
fontFamily: {
sans: [
'system-ui',
'-apple-system',
'Segoe UI',
'Roboto',
'Ubuntu',
'Cantarell',
'Noto Sans',
'sans-serif',
'BlinkMacSystemFont',
'Helvetica Neue',
'Arial',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji',
],
serif: ['Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
mono: [
'Menlo',
'Monaco',
'Consolas',
'"Liberation Mono"',
'"Courier New"',
'monospace',
],
},
},
variants: {
// Some useful comment
},
plugins: [
// Some useful comment
],
}