-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
48 lines (48 loc) · 920 Bytes
/
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
module.exports = {
purge: {
content: [
'./components/**/*.{vue,js}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
'./nuxt.config.{js,ts}',
],
options: {
safelist: [/^bg-/, /^hover:bg-/, /^text-/, /^hover:text-/, 'dark-mode'],
},
},
theme: {
extend: {
colors: {
primary: '#e7bc00',
secondary: '#f5dc7b',
},
},
darkSelector: '.dark-mode',
},
variants: {
backgroundColor: [
'hover',
'dark',
'dark-hover',
'dark-group-hover',
'dark-even',
'dark-odd',
],
borderColor: [
'focus',
'dark',
'dark-disabled',
'dark-focus',
'dark-focus-within',
],
textColor: [
'hover',
'dark',
'dark-hover',
'dark-active',
'dark-placeholder',
],
},
plugins: [require('tailwindcss-dark-mode')()],
}