-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.js
52 lines (51 loc) · 1.36 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
const defaultTheme = require('tailwindcss/defaultTheme'); // eslint-disable-line
const colors = require('tailwindcss/colors');
module.exports = {
theme: {
colors,
fontFamily: {
mono: [
'Menlo',
'Monaco',
'"Lucida Console"',
'Consolas',
'"Liberation Mono"',
'"Courier New"',
'monospace',
],
},
extend: {
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
width: {
72: '18rem',
},
},
},
variants: {
backgroundColor: ['responsive', 'hover', 'focus', 'active'],
},
plugins: [require('tailwindcss-hyphens')],
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
safelist: [
'bg-green-100',
'bg-gray-100',
'bg-purple-100',
'bg-red-100',
'border-blue-100',
'border-green-100',
'border-purple-100',
'border-red-100',
'hover:bg-blue-200',
'hover:bg-green-200',
'hover:bg-purple-200',
'hover:bg-red-200',
'text-amber-600',
'text-amber-700',
'text-cyan-600',
'text-gray-600',
'text-green-700',
'text-red-600',
],
};