-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.js
53 lines (53 loc) · 1.31 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
module.exports = {
purge: {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
],
options: {
safelist: [/data-theme$/],
},
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
},
variants: {
extend: {
backgroundColor: ["active"],
scale: ["group-hover"],
animation: ["group-hover"],
fontWeight: ["hover"],
},
translate: ({ after }) => after(["group-hover"]),
},
plugins: [require("daisyui"), require("tailwindcss-nested-groups")],
daisyui: {
themes: [
{
custom: {
primary: "#0177FF",
"primary-focus": "#7C3AED",
"primary-content": "#ffffff",
secondary: "#f000b8",
"secondary-focus": "#bd0091",
"secondary-content": "#ffffff",
accent: "#01BFA6",
"accent-focus": "#059669",
"accent-content": "#ffffff",
neutral: "#3d4451",
"neutral-focus": "#2a2e37",
"neutral-content": "#ffffff",
"base-100": "#ffffff",
"base-200": "#f9fafb",
"base-300": "#d1d5db",
"base-content": "#1f2937",
info: "#2094f3",
success: "#009485",
warning: "#FCD34D",
error: "#ff5724",
},
},
],
},
};