From f7a87f6799b6903818980216da323740985e62d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Tue, 29 Sep 2026 19:02:40 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20chat.js=E8=BF=87=E6=97=B6=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=BF=AE=E6=AD=A3(=E6=A9=99=E2=86=92=E5=93=81?= =?UTF-8?q?=E7=89=8C=E8=93=9D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Code --- static/js/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/chat.js b/static/js/chat.js index 1344b6a..1b733b3 100644 --- a/static/js/chat.js +++ b/static/js/chat.js @@ -1,6 +1,6 @@ // ---- 动态主题色 bootstrap(spec §3):?color= → 派生 → :root 变量 ---- (function () { - if (typeof ChatTheme === "undefined") return; // theme.js 加载失败→style.css :root 默认橙兜底 + if (typeof ChatTheme === "undefined") return; // theme.js 加载失败→style.css :root 品牌蓝兜底 var m = /(?:^|[?&])color=([^&]*)/.exec(location.search); function safeDecode(s) { try { return decodeURIComponent(s); } catch (e) { return ""; } } var color = m ? safeDecode(m[1]).trim() : "";