-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
74 lines (72 loc) · 1.55 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 defaultTheme = require('tailwindcss/defaultTheme');
/**
* NOTE:
* https://github.com/Acidic9/prettier-plugin-tailwind/issues/29
*/
module.exports = {
mode: process.env.NODE_ENV ? 'jit' : undefined,
purge: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
darkMode: false, // or 'media' or 'class'
theme: {
fontSize: {
'1.5em': '1.5em',
'2em': '2em',
'4.5xl': '2.5rem',
'18px': '18px',
'25px': '25px',
'30px': '30px',
...defaultTheme.fontSize,
},
borderWidth: {
none: '0',
1: '1px',
3: '3px',
...defaultTheme.borderWidth,
},
maxWidth: {
container: '82.5em',
'500px': '500px',
'400px': '400px',
},
borderRadius: {
none: '0',
'0.5em': '0.5em',
'4px': '4px',
'5px': '5px',
'10px': '10px',
'30px': '30px',
half: '50%',
...defaultTheme.borderRadius,
},
extend: {
colors: {
prod: '#00ebff',
item: '#ec1c76',
box: '#666',
payments: '#ebebeb',
demo: '#f4f4f4',
link: '#551A8B',
},
spacing: {
'300px': '300px',
'100px': '100px',
'400px': '400px',
'4px': '4px',
'5px': '5px',
'10px': '10px',
'13px': '13px',
'75px': '75px',
'175px': '175px',
...defaultTheme.spacing,
},
},
},
variants: {
extend: {},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/line-clamp')],
prefix: 'tw-',
};