-
Notifications
You must be signed in to change notification settings - Fork 19
/
tailwind.config.js
34 lines (33 loc) · 909 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
const colors = require('tailwindcss/colors')
module.exports = {
content: [
"./templates/**/*.html",
"./main/templates/**/*.html",
"./management/templates/**/*.html",
"./static/js/*.js",
"./**/views.py",
],
// Currently it is required to re-run Django compressor after template changes,
// and since it won’t pick up styling change
// you must touch the main.css file for compressor to update mtime.
// TODO: Figure out how to speed up Tailwind style iteration
// safelist: [
// { pattern: /.*/, variants: ['hover', 'focus'] }
// ],
theme: {
extend: {
colors: {
dark: colors.slate,
// Necessary for gradient workaround
'dark700transparentfix': 'rgb(30 41 59 / 0)',
},
screens: {
'xl': '1368px',
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/line-clamp'),
],
}