generated from antfu-collective/vitesse
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathtailwind.config.js
47 lines (46 loc) · 1.13 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
/* 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',
],
options: {
whitelist: [
'schema-dark',
],
},
},
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'],
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'],
},
plugins: [
require('tailwindcss-dark-mode')(),
],
future: {
removeDeprecatedGapUtilities: true,
},
experimental: {
applyComplexClasses: true,
uniformColorPalette: true,
extendedSpacingScale: true,
defaultLineHeights: true,
extendedFontSizeScale: true,
},
}