-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.js
47 lines (46 loc) · 929 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
const teal = {
100: '#E6FFFA',
200: '#B2F5EA',
300: '#81E6D9',
400: '#4FD1C5',
500: '#38B2AC',
600: '#319795',
700: '#2C7A7B',
800: '#285E61',
900: '#234E52',
};
module.exports = {
purge: ['./src/**/*.js', './src/**/*.jsx', './src/**/*.ts', './src/**/*.tsx'],
mode: 'jit',
theme: {
extend: {
colors: {
primary: teal,
},
typography: {
default: {
css: {
a: {
color: teal[700],
textDecoration: 'none',
'&:hover': {
textDecoration: 'underline',
},
},
},
},
},
},
},
variants: {
extend: {
zIndex: ['hover'],
margin: ['group-hover'],
},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
};