-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
101 lines (101 loc) · 1.67 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
const themeColors = require('./theme')
const staticPx = {
'-px5': '-5px',
'-px15': '-15px',
'-px24': '-24px',
'px2/3': '1.5px',
px2: '2px',
px3: '3px',
px4: '4px',
px5: '5px',
px6: '6px',
px8: '8px',
px11: '11px',
px12: '12px',
px14: '14px',
px16: '16px',
px17: '17px',
px10: '10px',
px20: '20px',
px23: '23px',
px24: '24px',
px29: '29px',
px30: '30px',
px32: '32px',
px33: '33px',
px40: '40px',
px60: '60px',
px90: '90px',
px190: '190px',
px203: '203px',
px215: '215px',
px230: '230px',
px250: '250px',
px278: '278px',
px300: '300px',
px400: '400px',
'3/10': '30%',
'7/10': '70%',
}
module.exports = {
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
screens: {
md: '900px',
},
colors: themeColors,
width: {
'275/16': '17.1875rem',
...staticPx,
},
height: {
...staticPx,
},
margin: {
...staticPx,
},
padding: {
...staticPx,
},
gap: {
...staticPx,
},
translate: {
...staticPx,
},
inset: {
...staticPx,
},
space: {
...staticPx,
},
spacing: {
...staticPx,
},
borderWidth: {
DEFAULT: '1px',
...staticPx,
},
lineHeight: {
...staticPx,
'10/15': '150%',
40: '4rem',
},
},
},
variants: {
extend: {},
},
plugins: [],
purge: {
enabled: process.env.NODE_ENV === 'production',
content: [
'components/**/*.js',
'layouts/**/*.js',
'pages/**/*.js',
'plugins/**/*.js',
'nuxt.config.js',
],
},
}