-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
38 lines (37 loc) · 1.38 KB
/
Copy pathtailwind.config.js
File metadata and controls
38 lines (37 loc) · 1.38 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
/** @type {import('tailwindcss').Config} */
import COLORS from "./src/styles/colors.json";
export default {
darkMode: "class",
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
daisyui: {
themes: [
{
lighttheme: {
primary: COLORS?.light.primary,
secondary: COLORS?.light.secondary,
accent: COLORS?.light.accent,
error: COLORS?.light.error,
warning: COLORS?.light.navHover,
"base-100": COLORS?.light?.base100,
"base-200": COLORS?.light?.base200,
"base-300": COLORS?.light?.base300,
"base-content": COLORS?.light?.baseContent,
},
},
{
darktheme: {
primary: COLORS?.dark.primary,
secondary: COLORS?.dark.secondary,
accent: COLORS?.dark.accent,
error: COLORS?.dark.error,
warning: COLORS?.dark.navHover,
"base-100": COLORS?.dark?.base100,
"base-200": COLORS?.dark?.base200,
"base-300": COLORS?.dark?.base300,
"base-content": COLORS?.dark?.baseContent,
},
},
],
},
plugins: [require("daisyui")],
};