forked from Webklex/tbm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
34 lines (31 loc) · 883 Bytes
/
tailwind.config.js
File metadata and controls
34 lines (31 loc) · 883 Bytes
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
const colors = require('tailwindcss/colors');
const copydir = require('copy-dir');
delete colors['lightBlue'];
delete colors['warmGray'];
delete colors['trueGray'];
delete colors['coolGray'];
delete colors['blueGray'];
// node_modules/@fortawesome/fontawesome-free/webfonts
copydir.sync('node_modules/@fortawesome/fontawesome-free/webfonts', 'static/public/webfonts', {
utimes: true, // keep add time and modify time
mode: true, // keep file mode
cover: true // cover file when exists, default is true
});
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./static/assets/**/*.{html,js}',
'./static/public/**/*.{html,js}',
'./static/template/*.tmpl'
],
theme: {
colors: {
...colors,
},
extend: {},
},
plugins: [],
safelist: [
"text-teal-500"
]
}