2020-08-10 02:43:04 +08:00
|
|
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
2020-11-28 14:14:36 +08:00
|
|
|
const colors = require('tailwindcss/colors')
|
2020-08-10 02:43:04 +08:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
purge: {
|
2020-08-20 20:45:04 +08:00
|
|
|
enabled: process.env.NODE_ENV === 'production',
|
2020-08-10 02:43:04 +08:00
|
|
|
content: [
|
|
|
|
'./index.html',
|
|
|
|
'./src/**/*.vue',
|
|
|
|
'./src/**/*.js',
|
|
|
|
'./src/**/*.ts',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
theme: {
|
|
|
|
extend: {
|
2020-11-28 14:14:36 +08:00
|
|
|
colors: {
|
|
|
|
teal: colors.teal,
|
|
|
|
},
|
2020-08-10 02:43:04 +08:00
|
|
|
opacity: {
|
|
|
|
10: '0.1',
|
|
|
|
85: '0.85',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
variants: {
|
2020-08-19 20:08:59 +08:00
|
|
|
cursor: ['responsive', 'disabled'],
|
2020-09-16 00:00:02 +08:00
|
|
|
backgroundColor: ['dark', 'hover', 'disabled'],
|
|
|
|
borderColor: ['dark', 'active', 'focus', 'disabled'],
|
|
|
|
textColor: ['dark', 'hover', 'active', 'disabled'],
|
2020-08-19 20:08:59 +08:00
|
|
|
opacity: ['dark', 'hover', 'active', 'focus', 'disabled'],
|
2020-08-10 02:43:04 +08:00
|
|
|
},
|
2020-11-28 14:14:36 +08:00
|
|
|
darkMode: 'class',
|
2020-08-10 02:43:04 +08:00
|
|
|
}
|