-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
44 lines (44 loc) · 1.05 KB
/
tailwind.config.js
File metadata and controls
44 lines (44 loc) · 1.05 KB
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./milk2meat/**/templates/**/*.html", // Catches templates in all Django apps
"./milk2meat/frontend/js/**/*.js", // Only JS files in frontend dir
// Error pages use custom styling, so we exclude them
"!milk2meat/**/400.html",
"!milk2meat/**/403.html",
"!milk2meat/**/404.html",
"!milk2meat/**/500.html",
],
theme: {
extend: {
fontFamily: {
sans: [
"Avenir",
"Montserrat",
"Corbel",
"URW Gothic",
"source-sans-pro",
"sans-serif",
],
serif: [
"Merriweather",
"Charter",
"Bitstream Charter",
"Sitka Text",
"Cambria",
"serif",
],
},
},
},
plugins: [
require("daisyui"),
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
],
daisyui: {
themes: ["winter", "night"],
},
safelist: [{ pattern: /alert-+/ }],
darkMode: ["selector", '[data-theme="night"]'],
};