-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
66 lines (66 loc) · 1.84 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
63
64
65
66
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
active: "#2563eb", // blue-600
"active-dark": "#1d4ed8", // blue-700
"active-light": "#1d4ed8", // blue-500
primary: "#334155", //slate-700
"primary-light": "#64748b", //slate-500
"primary-dark": "#1e293b", //slate-800
secondary: "#ffffff", // white
},
backgroundColor: {
"button-primary": "#3b82f6", // blue-500
"button-primary-dark": "#1d4ed8", // blue-700
"button-primary-hover": "#2563eb", // blue-600
},
animation: {
wiggle: "wiggle 1s ease-in-out infinite",
slideout: "slideout 4s ease-out infinite",
},
keyframes: {
wiggle: {
"0%, 100%": { transform: "rotate(-6deg)" },
"50%": { transform: "rotate(6deg)" },
},
slideout: {
"0%, 100%": { transform: "translate(-5px)" },
"50%": { transform: "translate(10px)" },
},
},
},
},
plugins: [require("@tailwindcss/forms"), require("daisyui")],
daisyui: {
themes: [
{
light: {
...require("daisyui/src/theming/themes")["data-theme=light"],
"base-content": "#334155",
primary: "#3b82f6",
".btn": {
"text-transform": "capitalize",
},
".btn-primary": {
"text-transform": "capitalize",
color: "#fff",
"padding-top": "0.5rem",
"padding-bottom": "0.5rem",
"padding-left": "1rem",
"padding-right": "1rem",
},
},
},
"dark",
],
logs: false,
},
};