-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
30 lines (30 loc) · 985 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
const colors = require('./src/core/constants/config/tailwindcss/colors')
const screens = require('./src/core/constants/config/tailwindcss/screens')
const extend = require('./src/core/constants/config/tailwindcss/extend')
module.exports = {
mode: 'jit', // New in 2.1+
// See tailwindCSS darkmode docs: https://tailwindcss.com/docs/dark-mode
// Use with other variants: https://tailwindcss.com/docs/dark-mode#stacking-with-other-variants
darkMode: 'class', // or false or 'media'
important: true,
theme: {
extend: {
screens,
colors,
},
},
variants: {
extend,
},
plugins: [],
purge: {
// Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css
enabled: process.env.NODE_ENV === 'production',
mode: 'all',
preserveHtmlElements: false,
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx,css,scss}'],
options: {
// safeList: [/^el-/] // For element UI CSS classes
},
},
}