-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
49 lines (48 loc) · 1.16 KB
/
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
40
41
42
43
44
45
46
47
48
49
//const { colors } = require('tailwindcss/defaultTheme') // import default colours
module.exports = {
mode: 'jit',
purge: {
future: {
purgeLayersByDefault: true,
removeDeprecatedGapUtilities: true,
},
content: [
"./src/**/*.html",
"./src/**/*.vue",
"./src/**/*.jsx",
// etc.
],
mode: "all",
//layers: ["utilities"],
},
plugins: [
/**
require("@tailwindcss/forms"), // use forms
require("@tailwindcss/typography"), // use typography
*/
],
// This is to disable the opacity that genereates a lot of extra css classes
corePlugins: {
divideOpacity: false,
backgroundOpacity: false,
borderOpacity: false,
placeholderOpacity: false,
textOpacity: false,
},
theme: {
/* This will overwrite all "colors" configuration to only
render default green and white
colors: {
'green': colors.white
'white' : colors.white,
},
*/
extend: {
/** This will extend the current "spacing" configuration
* and add a -7 to all spacing options */
spacing: {
'derek': '2rem',
},
},
},
};