-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
81 lines (77 loc) · 2.5 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
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
const defaultTheme = require('tailwindcss/defaultTheme');
const colors = require('@tailwindcss/ui/colors');
const { after } = require('lodash');
module.exports = {
purge: {
enable: true,
mode: 'all',
preserveHtmlElements: true,
content: [
'./storage/framework/views/*.php',
'./resources/views/*.blade.php',
'./resources/views/**/*.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-bg': '#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-invalid-variant-plugin'),
require('tailwindcss-multi-theme'),
],
};