vitesse/tailwind.config.js
2020-09-16 00:00:02 +08:00

42 lines
963 B
JavaScript

/* eslint-disable @typescript-eslint/no-var-requires */
module.exports = {
purge: {
enabled: process.env.NODE_ENV === 'production',
content: [
'./index.html',
'./src/**/*.vue',
'./src/**/*.js',
'./src/**/*.ts',
],
},
theme: {
extend: {
opacity: {
10: '0.1',
85: '0.85',
},
},
},
variants: {
cursor: ['responsive', 'disabled'],
backgroundColor: ['dark', 'hover', 'disabled'],
borderColor: ['dark', 'active', 'focus', 'disabled'],
textColor: ['dark', 'hover', 'active', 'disabled'],
opacity: ['dark', 'hover', 'active', 'focus', 'disabled'],
},
future: {
purgeLayersByDefault: true,
removeDeprecatedGapUtilities: true,
},
experimental: {
darkModeVariant: true,
applyComplexClasses: true,
uniformColorPalette: true,
extendedSpacingScale: true,
defaultLineHeights: true,
extendedFontSizeScale: true,
},
dark: 'class',
}