-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
74 lines (73 loc) · 1.68 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
const colors = require('tailwindcss/colors')
module.exports = {
purge: {
content: ['./public/**/*.html', './src/**/*.vue'],
options: {
safelist: [
'bg-red-100',
'bg-yellow-100',
'bg-green-100',
'bg-cyan-100',
'bg-teal-100',
'bg-indigo-100',
'bg-pink-100',
'bg-purple-100',
'bg-blue-100',
'bg-gray-100',
'bg-red-500',
'bg-yellow-500',
'bg-green-500',
'bg-cyan-500',
'bg-teal-500',
'bg-indigo-500',
'bg-pink-500',
'bg-purple-500',
'bg-blue-500',
'bg-gray-500',
'text-red-500',
'text-yellow-500',
'text-green-500',
'text-cyan-500',
'text-teal-500',
'text-indigo-500',
'text-pink-500',
'text-purple-500',
'text-blue-500',
'text-gray-500',
],
}
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.trueGray,
indigo: colors.indigo,
red: colors.rose,
yellow: colors.amber,
blue: colors.blue,
pink: colors.pink,
purple: colors.purple,
green: colors.green,
teal: colors.teal,
cyan: colors.cyan,
},
fontFamily: {
'gochi': ['Gochi Hand']
}
},
},
variants: {
extend: {
backgroundColor: ['active'],
textColor: ['hover']
},
},
plugins: [
require('@tailwindcss/forms'),
],
}