-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
140 lines (134 loc) · 4.25 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}", "./utils/**/*.{js,ts,jsx,tsx}"],
plugins: [require("daisyui")],
darkTheme: "scaffoldEthDark",
// DaisyUI theme colors
daisyui: {
themes: [
{
customDark: {
primary: "#67cff1", // A shade of purple for primary elements
"primary-content": "#F9FBFF", // High contrast content color for readability
secondary: "#323f61", // A subdued shade for secondary elements
"secondary-content": "#F9FBFF",
accent: "#BB86FC", // A lighter purple for accent elements
"accent-content": "#F9FBFF",
neutral: "#2A2E35", // Dark grey for neutral backgrounds
"neutral-content": "#F9FBFF", // Content color against the neutral background
"base-100": "#121212", // Dark base color for backgrounds
"base-200": "#1F1F1F", // Slightly lighter dark shade for layering
"base-300": "#242424", // Additional layering shade
"base-content": "#E0E0E0", // Greyish color for primary content
info: "#3B82F6", // Information messages or icons
success: "#4CAF50", // Success states, buttons, or icons
warning: "#FB8C00", // Warning messages or icons
error: "#F44336", // Error states, messages, or icons
// Customizations for rounded buttons, tooltips, and links
"--rounded-btn": "0.5rem", // Rounded corners for buttons
".tooltip": {
"--tooltip-tail": "6px",
"--tooltip-color": "oklch(var(--p))",
},
".link": {
textUnderlineOffset: "2px",
},
".link:hover": {
opacity: "80%",
},
},
},
{
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",
},
".link": {
textUnderlineOffset: "2px",
},
".link:hover": {
opacity: "80%",
},
},
},
{
scaffoldEthDark: {
primary: "#212638",
"primary-content": "#F9FBFF",
secondary: "#323f61",
"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": "oklch(var(--p))",
},
".link": {
textUnderlineOffset: "2px",
},
".link:hover": {
opacity: "80%",
},
},
},
],
},
theme: {
extend: {
boxShadow: {
center: "0 0 12px -2px rgb(0 0 0 / 0.05)",
},
animation: {
"pulse-fast": "pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite",
},
height: {
"full-minus-200": "calc(100vh - 200px)", // Full height minus 200 pixels
},
fontFamily: {
plex: ["var(--font-ibm-plex-mono)"],
},
backgroundImage: {
"custom-gradient": "radial-gradient(var(--tw-gradient-stops))",
},
screens: {
sm: "640px", // Small screens and up
md: "768px", // Medium screens and up
lg: "1024px", // Large screens and up
xl: "1280px", // Extra large screens and up
},
},
},
variants: {
extend: {
backgroundImage: ["dark"],
},
},
};