fix(instance): light-theme P/L colors, AI review panels, bot stats

Restore plan floating P/L and st-done greens; fix panel-item and stats-split-col in light mode; observe journal lists; bump theme assets to v3.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-04 13:07:00 +08:00
parent be3ce18665
commit 21b3e97571
20 changed files with 165 additions and 37 deletions
+21
View File
@@ -73,7 +73,15 @@
"#8fc8ff": "#006e9a",
"#6ab8ff": "#006e9a",
"#6eb5ff": "#006e9a",
"#101522": "#ffffff",
"#121726": "#ffffff",
"#141423": "#ffffff",
"#24243b": "#b8c8d8",
"#252a45": "#b8c8d8",
"#252538": "#eef3f8",
"#1a1a29": "#f6f9fc",
"#2e2e45": "#b8c8d8",
"#2b2b43": "#d0dae4",
"#151a2a": "#eef3f8",
"#141a2a": "#ffffff",
"#141923": "#ffffff",
@@ -196,9 +204,22 @@
} else {
apply(getStandalone());
}
function observeDynamicLists() {
["journal-list", "review-list"].forEach((id) => {
const el = document.getElementById(id);
if (!el || el.dataset.instThemeObserved === "1") return;
el.dataset.instThemeObserved = "1";
new MutationObserver(() => syncInlineStyles(get())).observe(el, {
childList: true,
subtree: true,
});
});
}
const onReady = () => {
initToggleUI();
syncInlineStyles(get());
observeDynamicLists();
};
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", onReady);