-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
49 lines (47 loc) · 1.09 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 defaultTheme = require('tailwindcss/defaultTheme')
/*
** TailwindCSS Configuration File
**
** Docs: https://tailwindcss.com/docs/configuration
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
*/
module.exports = {
future: {
removeDeprecatedGapUtilities: true
},
theme: {
extend: {
fontSize: {
'7xl': '6rem',
'8xl': '7rem',
'9xl': '8rem',
'10xl': '9rem',
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
mono: ['Hack', 'monospace', ...defaultTheme.fontFamily.mono]
}
// container: {
// center: true
// },
}
},
variants: {},
plugins: [
require('@tailwindcss/ui')
// ({
// layout: 'sidebar',
// })
],
purge: {
// Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css
enabled: process.env.NODE_ENV === 'production',
content: [
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'plugins/**/*.js',
'nuxt.config.js'
]
}
}