forked from LucidVR/opengloves-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
39 lines (37 loc) · 885 Bytes
/
tailwind.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
const production = !process.env.ROLLUP_WATCH;
module.exports = {
mode: 'jit',
darkMode: 'class',
purge: {
content: [
"./src/**/*.svelte",
],
options: {
defaultExtractor: content => [
...(content.match(/[^<>"'`\s]*[^<>"'`\s:]/g) || []),
...(content.match(/(?<=class:)[^=>\/\s]*/g) || []),
],
},
enabled: production // disable purge in dev
},
theme: {
extend: {
textColor: {
'blurple': '#5865F2'
}
},
},
variants: {
extend: {
backgroundColor: ['checked'],
borderColor: ['checked'],
}
},
plugins: [
require('@tailwindcss/forms')
],
future: {
purgeLayersByDefault: true,
removeDeprecatedGapUtilities: true,
},
}