You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tailwind.config.cjs
+33-1
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ module.exports = {
14
14
secondaryBackground: '#fff',
15
15
secondaryBorder: '#f0f9ff',
16
16
secondaryText: '#64748b',
17
+
accent: '#0EA5E9',
17
18
primaryBorderDark: '#9DB2BF',
18
19
primaryBackgroundDark: '#27374D',
19
20
primaryTextDark: '#9DB2BF',
@@ -23,6 +24,37 @@ module.exports = {
23
24
}
24
25
},
25
26
},
26
-
plugins: [],
27
+
daisyui: {
28
+
themes: [
29
+
{
30
+
dark: {
31
+
primaryBorderDark: '#9DB2BF',
32
+
primaryBackgroundDark: '#27374D',
33
+
primaryTextDark: '#9DB2BF',
34
+
secondaryBorderDark: '#27374D',
35
+
secondaryBackgroundDark: '#526D82',
36
+
secondaryTextDark: '#DDE6ED',
37
+
accent: '#1c7299',
38
+
},
39
+
light: {
40
+
primaryBorder: '#6b7280',
41
+
primaryBackground: '#f0f9ff',
42
+
primaryText: '#0f172a',
43
+
secondaryBackground: '#fff',
44
+
secondaryBorder: '#f0f9ff',
45
+
secondaryText: '#64748b',
46
+
accent: '#0EA5E9',
47
+
}
48
+
}
49
+
],// true: all themes | false: only light + dark | array: specific themes like this ["light", "dark", "cupcake"]
50
+
darkTheme: "dark",// name of one of the included themes for dark mode
51
+
base: false,// applies background color and foreground color for root element by default
52
+
styled: true,// include daisyUI colors and design decisions for all components
53
+
utils: true,// adds responsive and modifier utility classes
54
+
rtl: false,// rotate style direction from left-to-right to right-to-left. You also need to add dir="rtl" to your html tag and install `tailwindcss-flip` plugin for Tailwind CSS.
55
+
prefix: "",// prefix for daisyUI classnames (components, modifiers and responsive class names. Not colors)
56
+
logs: true,// Shows info about daisyUI version and used config in the console when building your CSS
0 commit comments