From be3ce186652947a5f43b4676e5e73ee07a614308 Mon Sep 17 00:00:00 2001 From: dekun Date: Thu, 4 Jun 2026 12:59:42 +0800 Subject: [PATCH] style(instance): unify light theme across four exchanges Extend instance_theme CSS/JS for trade, strategy, records, journal and stats tabs; remap inline dark colors; bump static assets to v2. Co-authored-by: Cursor --- crypto_monitor_binance/templates/index.html | 6 +- .../templates/key_focus_v2.html | 6 +- crypto_monitor_binance/templates/login.html | 6 +- .../templates/order_focus_v2.html | 6 +- crypto_monitor_gate/templates/index.html | 6 +- .../templates/key_focus_v2.html | 6 +- crypto_monitor_gate/templates/login.html | 6 +- .../templates/order_focus_v2.html | 6 +- crypto_monitor_gate_bot/templates/index.html | 6 +- .../templates/key_focus_v2.html | 6 +- crypto_monitor_gate_bot/templates/login.html | 6 +- .../templates/order_focus_v2.html | 6 +- crypto_monitor_okx/templates/index.html | 6 +- .../templates/key_focus_v2.html | 6 +- crypto_monitor_okx/templates/login.html | 6 +- .../templates/order_focus_v2.html | 6 +- scripts/patch_instance_theme_templates.py | 4 +- static/instance_theme.css | 263 +++++++++++++++++- static/instance_theme.js | 90 +++++- strategy_templates/strategy_roll.html | 17 +- strategy_templates/strategy_subnav.html | 6 +- 21 files changed, 417 insertions(+), 59 deletions(-) diff --git a/crypto_monitor_binance/templates/index.html b/crypto_monitor_binance/templates/index.html index abd449f..848dd62 100644 --- a/crypto_monitor_binance/templates/index.html +++ b/crypto_monitor_binance/templates/index.html @@ -1,8 +1,8 @@ - + - + @@ -231,7 +231,7 @@ .stats-period-block h3{font-size:1rem;color:#dbe4ff;margin-bottom:4px} .stats-period-block .sub{font-size:.78rem;color:#8892b0;margin-bottom:10px;line-height:1.4} - + diff --git a/crypto_monitor_binance/templates/key_focus_v2.html b/crypto_monitor_binance/templates/key_focus_v2.html index 9caa241..522fe32 100644 --- a/crypto_monitor_binance/templates/key_focus_v2.html +++ b/crypto_monitor_binance/templates/key_focus_v2.html @@ -1,8 +1,8 @@ - + - + {{ exchange_display }} | 关键位放大 - + diff --git a/crypto_monitor_binance/templates/login.html b/crypto_monitor_binance/templates/login.html index 5bdb406..38a348c 100644 --- a/crypto_monitor_binance/templates/login.html +++ b/crypto_monitor_binance/templates/login.html @@ -1,8 +1,8 @@ - + - + 登录 · {{ exchange_display }} - +