-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
117 lines (111 loc) · 3.05 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}", "./utils/**/*.{js,ts,jsx,tsx}"],
plugins: [require("daisyui")],
darkTheme: "scaffoldEthDark",
// DaisyUI theme colors
daisyui: {
themes: [
{
scaffoldEth: {
primary: "#93BBFB",
"primary-content": "#212638",
secondary: "#DAE8FF",
"secondary-content": "#212638",
accent: "#93BBFB",
"accent-content": "#212638",
neutral: "#212638",
"neutral-content": "#ffffff",
"base-100": "#ffffff",
"base-200": "#f4f8ff",
"base-300": "#DAE8FF",
"base-content": "#212638",
info: "#93BBFB",
success: "#34EEB6",
warning: "#FFCF72",
error: "#FF8863",
"--rounded-btn": "9999rem",
".tooltip": {
"--tooltip-tail": "6px",
},
},
},
{
scaffoldEthDark: {
primary: "#212638",
"primary-content": "#F9FBFF",
secondary: "#2A3655",
"secondary-content": "#F9FBFF",
accent: "#4969A6",
"accent-content": "#F9FBFF",
neutral: "#F9FBFF",
"neutral-content": "#385183",
"base-100": "#385183",
"base-200": "#2A3655",
"base-300": "#212638",
"base-content": "#F9FBFF",
info: "#385183",
success: "#34EEB6",
warning: "#FFCF72",
error: "#FF8863",
"--rounded-btn": "9999rem",
".tooltip": {
"--tooltip-tail": "6px",
"--tooltip-color": "hsl(var(--p))",
},
},
},
{
exampleUi: {
primary: "#000000",
"primary-content": "#ffffff",
secondary: "#FF6644",
"secondary-content": "#212638",
accent: "#93BBFB",
"accent-content": "#212638",
neutral: "#f3f3f3",
"neutral-content": "#212638",
"base-100": "#ffffff",
"base-200": "#f1f1f1",
"base-300": "#d0d0d0",
"base-content": "#212638",
info: "#93BBFB",
success: "#34EEB6",
warning: "#FFCF72",
error: "#FF8863",
"--rounded-btn": "9999rem",
".tooltip": {
"--tooltip-tail": "6px",
},
},
},
],
},
theme: {
// Extend Tailwind classes (e.g. font-bai-jamjuree, animate-grow)
extend: {
fontFamily: {
"bai-jamjuree": ["Bai Jamjuree", "sans-serif"],
},
keyframes: {
grow: {
"0%": {
width: "0%",
},
"100%": {
width: "100%",
},
},
zoom: {
"0%, 100%": { transform: "scale(1, 1)" },
"50%": { transform: "scale(1.1, 1.1)" },
},
},
animation: {
grow: "grow 5s linear infinite",
"pulse-fast": "pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite",
zoom: "zoom 1s ease infinite",
},
},
},
};