vitesse/tailwind.config.js

47 lines
1.1 KiB
JavaScript
Raw Normal View History

2020-08-10 02:43:04 +08:00
/* eslint-disable @typescript-eslint/no-var-requires */
module.exports = {
purge: {
content: [
'./index.html',
'./src/**/*.vue',
'./src/**/*.js',
'./src/**/*.ts',
],
2020-08-10 20:31:44 +08:00
options: {
2020-08-11 18:41:21 +08:00
whitelist: [
'schema-dark',
],
2020-08-10 20:31:44 +08:00
},
2020-08-10 02:43:04 +08:00
},
theme: {
darkSelector: '.schema-dark',
extend: {
opacity: {
10: '0.1',
85: '0.85',
},
},
},
variants: {
cursor: ['responsive', 'disabled'],
backgroundColor: ['dark', 'dark-hover', 'dark-group-hover', 'hover', 'disabled'],
2020-08-10 20:31:44 +08:00
borderColor: ['dark', 'dark-disabled', 'dark-focus', 'dark-active', 'active', 'focus', 'disabled'],
textColor: ['dark', 'dark-hover', 'dark-active', 'hover', 'active', 'disabled'],
opacity: ['dark', 'hover', 'active', 'focus', 'disabled'],
2020-08-10 02:43:04 +08:00
},
plugins: [
require('tailwindcss-dark-mode')(),
],
future: {
removeDeprecatedGapUtilities: true,
},
experimental: {
applyComplexClasses: true,
uniformColorPalette: true,
extendedSpacingScale: true,
defaultLineHeights: true,
extendedFontSizeScale: true,
},
2020-08-10 02:43:04 +08:00
}