Skip to content

Show it a video you love. Get a new video in the same style. An AI crew (Claude Code or Codex) plans, builds and reviews it with you.

UI: English is the default language for first-time visitors; readable dropdown options in dark mode

許元豪b1ec3d833d3a
diff --git a/app/web/index.html b/app/web/index.html
index d8af439..de0f25c 100644
--- a/app/web/index.html
+++ b/app/web/index.html
@@ -1,5 +1,5 @@
<!doctype html>
-<html lang="zh-Hant">
+<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
diff --git a/app/web/src/i18n.js b/app/web/src/i18n.js
index cac9cbf..11e76ec 100644
--- a/app/web/src/i18n.js
+++ b/app/web/src/i18n.js
@@ -4,12 +4,12 @@
// OpenCC (Taiwan → Mainland phrasing), which also converts the AI's own messages. Text the user types is never touched.
export const LANGS = [
- { id: 'zh-TW', label: '繁體中文', short: '繁' },
{ id: 'en', label: 'English', short: 'EN' },
+ { id: 'zh-TW', label: '繁體中文', short: '繁' },
{ id: 'zh-CN', label: '简体中文', short: '简' },
];
const store = { get: (k) => { try { return localStorage.getItem(k); } catch { return null; } }, set: (k, v) => { try { localStorage.setItem(k, v); } catch {} } };
-export let lang = LANGS.some((l) => l.id === store.get('lang')) ? store.get('lang') : 'zh-TW';
+export let lang = LANGS.some((l) => l.id === store.get('lang')) ? store.get('lang') : 'en'; // default for first-time visitors; the menu (top right) remembers a choice
// ---------- English ----------
const EN = {
diff --git a/app/web/src/styles.css b/app/web/src/styles.css
index 2ffb244..0cec948 100644
--- a/app/web/src/styles.css
+++ b/app/web/src/styles.css
@@ -545,6 +545,8 @@ h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.022e
.lg-bar select, .lg-bar input { height: 32px; border: 0; outline: 0; border-radius: 9px; background: var(--fill-2); padding: 0 10px; font-size: 13px; color: var(--label); }
.lg-bar input { flex: 1; min-width: 0; }
.lg-bar input:focus, .lg-bar select:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
+/* the native option list doesn't inherit the translucent fill: give it a solid surface so text stays readable in both themes */
+.lg-bar select option { background: var(--surface); color: var(--label); }
.lg-body { flex: 1; overflow: auto; padding: 6px 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.55; }
.lg-row { display: grid; grid-template-columns: 58px 74px 1fr; gap: 8px; padding: 3px 12px; border-left: 2px solid transparent; }
.lg-row:hover { background: var(--fill-2); }