-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
54 lines (53 loc) · 1.34 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
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
module.exports = {
content: ["./templates/**/*.html", "**/templates/**/*.html"],
theme: {
extend: {},
},
daisyui: {
themes: [
{
cupcake: {
...require("daisyui/src/theming/themes")["cupcake"],
primary: "#1615ff",
secondary: "#4bb2f2",
},
},
{
wireframe: {
...require("daisyui/src/theming/themes")["wireframe"],
primary: "#1615ff",
secondary: "#4bb2f2",
},
},
"light",
"dark",
"dracula",
"night",
"winter",
"forest",
"sunset",
"business",
"cyberpunk",
"synthwave",
"retro",
"valentine",
"garden",
"aqua",
],
},
plugins: [
require('daisyui'),
require("@tailwindcss/typography"),
require("@tailwindcss/forms"),
require("@tailwindcss/aspect-ratio"),
require("@tailwindcss/container-queries"),
plugin(function ({ addVariant }) {
addVariant("htmx-settling", ["&.htmx-settling", ".htmx-settling &"]);
addVariant("htmx-request", ["&.htmx-request", ".htmx-request &"]);
addVariant("htmx-swapping", ["&.htmx-swapping", ".htmx-swapping &"]);
addVariant("htmx-added", ["&.htmx-added", ".htmx-added &"]);
}),
],
};