-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
296 lines (280 loc) · 9.42 KB
/
Copy pathindex.html
File metadata and controls
296 lines (280 loc) · 9.42 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
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Google tag (gtag.js) -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-71RZZL9MS6"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-71RZZL9MS6");
</script>
<!-- Primary Meta Tags -->
<title>Taichi Theme Generator - Light & Dark Color Palette Generator</title>
<meta
name="title"
content="Taichi Theme Generator - Light & Dark Color Palette Generator"
/>
<meta
name="description"
content="Generate beautiful light and dark theme color palettes instantly. Professional color scheme generator with real-time preview, multiple harmonies, and design system tokens. Create matching dual themes for your UI."
/>
<meta
name="keywords"
content="color palette generator, theme generator, light dark theme, color scheme generator, dual theme, design system, color harmony, palette creator, UI colors, dark mode generator, light mode colors, theme builder"
/>
<meta name="author" content="Bucaa Studio" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://taichi.bucaastudio.com/" />
<meta
property="og:title"
content="Taichi Theme Generator - Light & Dark Color Palette Generator"
/>
<meta
property="og:description"
content="Generate beautiful light and dark theme color palettes instantly. Professional color scheme generator with real-time preview and design system tokens."
/>
<meta
property="og:image"
content="https://taichi.bucaastudio.com/og-image.png"
/>
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://taichi.bucaastudio.com/" />
<meta
property="twitter:title"
content="Taichi Theme Generator - Light & Dark Color Palette Generator"
/>
<meta
property="twitter:description"
content="Generate beautiful light and dark theme color palettes instantly. Professional color scheme generator with real-time preview and design system tokens."
/>
<meta
property="twitter:image"
content="https://taichi.bucaastudio.com/og-image.png"
/>
<!-- Canonical URL -->
<link rel="canonical" href="https://taichi.bucaastudio.com/" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ["Inter", "sans-serif"],
mono: ["Fira Code", "monospace"],
},
colors: {
// We map tailwind utility classes to CSS variables we will inject dynamically
t: {
bg: "var(--bg)",
card: "var(--card)",
card2: "var(--card2)",
text: "var(--text)",
muted: "var(--text-muted)",
textMuted: "var(--text-muted)",
textOnColor: "var(--text-on-color)",
primary: "var(--primary)",
primaryFg: "var(--primary-fg)",
secondary: "var(--secondary)",
secondaryFg: "var(--secondary-fg)",
accent: "var(--accent)",
accentFg: "var(--accent-fg)",
border: "var(--border)",
ring: "var(--ring)",
good: "var(--good)",
goodFg: "var(--good-fg)",
warn: "var(--warn)",
warnFg: "var(--warn-fg)",
bad: "var(--bad)",
badFg: "var(--bad-fg)",
},
},
},
},
};
</script>
<style>
/* Prevent horizontal scroll on mobile; themed bg prevents white bleed-through */
html, body {
overflow-x: hidden;
max-width: 100vw;
background-color: var(--bg, #f0f0f0);
}
/* Custom Scrollbar — uses theme border token */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--border, #cbd5e1);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted, #94a3b8);
}
/* Theme-aware hover state — uses inherited text color */
.hover-themed:hover {
background-color: color-mix(in srgb, currentColor 10%, transparent);
}
/* Hide scrollbar for elements with no-scrollbar class */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* Theme-aware range sliders.
Thumb uses currentColor so each context can set color via text-* or style. */
input[type="range"] {
-webkit-appearance: none;
appearance: none;
background: transparent;
cursor: pointer;
}
input[type="range"]:focus {
outline: none;
}
input[type="range"]::-webkit-slider-runnable-track {
height: 6px;
border-radius: 9999px;
background: color-mix(in srgb, currentColor 15%, transparent);
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 16px;
height: 16px;
border-radius: 50%;
background: currentColor;
margin-top: -5px;
box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
input[type="range"]::-moz-range-track {
height: 6px;
border-radius: 9999px;
background: color-mix(in srgb, currentColor 15%, transparent);
}
input[type="range"]::-moz-range-thumb {
width: 16px;
height: 16px;
border-radius: 50%;
background: currentColor;
border: none;
box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
/* Theme-aware checkboxes — replace browser-default white with theme tokens */
input[type="checkbox"] {
-webkit-appearance: none;
appearance: none;
width: 1em;
height: 1em;
border: 2px solid var(--border, #888);
border-radius: 0.2em;
background: var(--card, transparent);
cursor: pointer;
position: relative;
vertical-align: middle;
flex-shrink: 0;
}
input[type="checkbox"]:checked {
background: var(--primary, #3b82f6);
border-color: var(--primary, #3b82f6);
}
input[type="checkbox"]:checked::after {
content: '';
position: absolute;
left: 3px;
top: 0px;
width: 5px;
height: 9px;
border: solid var(--primary-fg, white);
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
input[type="checkbox"]:focus-visible {
outline: 2px solid var(--ring, #60a5fa);
outline-offset: 1px;
}
/* Suppress browser click/focus highlights on buttons & selects.
All focus rings use the theme ring token — never the default blue/white. */
button:focus,
select:focus {
outline: none;
box-shadow: none;
}
button:focus-visible,
select:focus-visible {
outline: 2px solid var(--ring, #60a5fa);
outline-offset: 2px;
}
button, select {
-webkit-tap-highlight-color: transparent;
}
select {
-webkit-appearance: none;
}
/* Themed borders — use CSS variable directly, bypasses Tailwind CDN
parsing ambiguity where border-t-border doesn't resolve t.border */
.border-themed {
border-color: var(--border);
}
/* Themed placeholder text — Tailwind /opacity modifiers can't decompose
CSS variables into RGB channels, so we style ::placeholder globally */
::placeholder {
color: var(--text-muted);
opacity: 0.7;
}
/* Theme-aware radio buttons */
input[type="radio"] {
-webkit-appearance: none;
appearance: none;
width: 1em;
height: 1em;
border: 2px solid var(--border, #888);
border-radius: 50%;
background: var(--card, transparent);
cursor: pointer;
vertical-align: middle;
flex-shrink: 0;
}
input[type="radio"]:checked {
background: var(--primary, #3b82f6);
border-color: var(--primary, #3b82f6);
box-shadow: inset 0 0 0 2.5px var(--card, white);
}
input[type="radio"]:focus-visible {
outline: 2px solid var(--ring, #60a5fa);
outline-offset: 1px;
}
</style>
<script type="importmap">
{
"imports": {
"lucide-react": "https://esm.sh/lucide-react@^0.562.0",
"react/": "https://esm.sh/react@^19.2.3/",
"react": "https://esm.sh/react@^19.2.3",
"react-dom": "https://esm.sh/react-dom@^19.2.3",
"react-dom/client": "https://esm.sh/react-dom@^19.2.3/client",
"react-dom/": "https://esm.sh/react-dom@^19.2.3/"
}
}
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="./index.tsx"></script>
</body>
</html>