-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
49 lines (47 loc) · 1.04 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
const colors = require('tailwindcss/colors')
module.exports = {
content: [
'./sources/**/*.{svg,css,png,jpg,js}',
'./includes/**/*.php',
'./views/**/*.php',
'./safelist.txt',
// // Theme root PHP files
'./404.php',
'./archive.php',
'./comments.php',
'./footer.php',
'./functions.php',
'./header.php',
'./index.php',
'./page.php',
'./search.php',
'./sidebar.php',
'./single.php',
],
theme: {
plugins: [
require('@tailwindcss/line-clamp'),
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
function ({ addComponents }) {
addComponents({
'.container': {
maxWidth: '1170px',
'@screen sm': {
maxWidth: '100%',
},
'@screen md': {
maxWidth: '100%',
},
'@screen lg': {
maxWidth: '1140px',
},
'@screen xl': {
maxWidth: '1170px',
},
}
})
}
]
}
}