-
Notifications
You must be signed in to change notification settings - Fork 0
/
adminTW.config.js
120 lines (116 loc) · 3.05 KB
/
adminTW.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
const defaultTheme = require('tailwindcss/defaultTheme');
const colors = require('@tailwindcss/ui/colors');
// const { after } = require('lodash');
module.exports = {
purge: {
enable: false,
mode: 'all',
preserveHtmlElements: false,
content: [
// './storage/framework/views/*.php',
'./resources/views/admin/*.blade.php',
'./resources/views/admin/**/*.blade.php',
// './resources/js/components/**/*.vue',
// './node_modules/@fortawesome/fontawesome-free/css/fontawesome.min.css'
],
options: {
safelist: {
// standard: ['bg-blue-500', 'bg-red-500'],
// deep: [/bg-green-500/],
},
},
},
theme: {
themeVariants: ['dark'],
extend: {
fontFamily: {
sans: [
'Roboto',
'Cairo',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
...defaultTheme.fontFamily.sans,
],
},
colors: {
teal: colors.teal,
green: colors.emerald,
orange: colors.orange,
gray: colors.blueGray,
dark: '#1a202c',
},
},
},
variants: {
animation: ['responsive', 'hover'],
backgroundColor: [
'disabled',
'hover',
'focus',
'active',
'invalid',
'dark',
'dark:hover',
'dark:focus',
],
backgroundImage: [
'disabled',
'dark',
'dark:hover',
'dark:focus',
'responsive',
],
borderColor: [
'disabled',
'hover',
'focus',
'active',
'invalid',
'group-hover',
'dark',
'dark:hover',
'dark:focus',
],
boxShadow: [
'disabled',
'hover',
'focus',
'active',
'invalid',
'dark',
'dark:hover',
'dark:focus',
],
cursor: ['disabled', 'hover'],
gradientColorStops: [
'responsive',
'dark',
'dark:hover',
'dark:focus',
'hover',
'focus',
],
opacity: ['responsive', 'hover', 'focus', 'disabled'],
outline: ['invalid', 'hover', 'focus', 'disabled'],
textColor: [
'invalid',
'hover',
'disabled',
'group-hover',
'dark',
'dark:hover',
'dark:focus',
],
},
plugins: [
require('@tailwindcss/ui'),
require('@tailwindcss/forms'),
require('tailwindcss-invalid-variant-plugin'),
require('tailwindcss-multi-theme'),
// require('tailwind-bootstrap-grid')(),
],
corePlugins: {
container: false,
},
};