-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtailwind.config.js
62 lines (61 loc) · 1.59 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
55
56
57
58
59
60
61
62
/* to disable code block CSS from tailwind/typography, we use another code highlighter */
const disabledCss = {
"code::before": false,
"code::after": false,
"blockquote p:first-of-type::before": false,
"blockquote p:last-of-type::after": false,
pre: false,
code: false,
"pre code": false,
"code::before": false,
"code::after": false,
};
module.exports = {
content: ["internal/views/**/*.templ"],
theme: {
extend: {
/* disable code block CSS */
typography: {
DEFAULT: { css: disabledCss },
sm: { css: disabledCss },
lg: { css: disabledCss },
xl: { css: disabledCss },
"2xl": { css: disabledCss },
},
},
},
/* @tailwind/typography plugin should be befire daisyui */
plugins: [require("@tailwindcss/typography"), require("daisyui")],
daisyui: {
themes: [
{
light: {
primary: "#D48921",
secondary: "#9FB798",
accent: "#d946ef",
neutral: "#222630",
"base-100": "#EDF5FC",
info: "#4ECDC4",
warning: "#FFBA08",
error: "#E84855",
success: "35FF69",
"--rounded-box": "0.15rem",
"--rounded-btn": "0.15rem",
},
dark: {
primary: "#E3A24A",
secondary: "#9FB798",
accent: "#d946ef",
neutral: "#ADADAD",
"base-100": "#191D24",
info: "#4ECDC4",
warning: "#FFBA08",
error: "#E84855",
success: "35FF69",
"--rounded-box": "0.15rem",
"--rounded-btn": "0.15rem",
},
},
],
},
};