From d76c5e3a5402c7ed7ddf496e3aa77bc1fe2a303b Mon Sep 17 00:00:00 2001 From: subtrack Date: Tue, 20 Oct 2026 01:08:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(v1.9.5):=20=E5=A4=A7=E5=B1=8F=E6=B5=85?= =?UTF-8?q?=E8=89=B2=E4=B8=BB=E9=A2=98=E9=85=8D=E8=89=B2=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=88=E6=A0=87=E7=AD=BE/KPI/=E7=83=AD=E5=8A=9B/TOP/?= =?UTF-8?q?=E5=BE=85=E6=89=93=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 大屏原为纯深色设计,浅色主题下沿用深色文字变量导致浅字贴白底 - 为浅色主题补齐 .scr 的 --bg/--surface/--line/--muted/--ink 变量,并显式覆盖:标签页、热力格日期与计数、KPI 标签与单位、TOP 榜与今日待打、页脚与说明 - 选中标签保持墨绿渐变白字,其它标签白底深字带描边 - 仍为 v1.9.5,仅前端样式 --- internal/web/static/screen.css | 58 +++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/internal/web/static/screen.css b/internal/web/static/screen.css index 82e0a08..8ba691d 100644 --- a/internal/web/static/screen.css +++ b/internal/web/static/screen.css @@ -465,4 +465,60 @@ body::before { .heat-cell b { color: #63d6ad !important; font-weight: 700; } .heat-cell.out { opacity: .45 !important; } .heat-cell.past { opacity: .75 !important; } -.heat-legend { margin-top: 6px; color: var(--muted); } \ No newline at end of file +.heat-legend { margin-top: 6px; color: var(--muted); } +/* ---------- v1.9.5:大屏浅色主题配色修复 ---------- */ +:root[data-theme="light"] .scr, +:root[data-bs-theme="light"] .scr { + --bg: #f2f7f4; + --surface: #ffffff; + --surface-2: #eaf1ed; + --line: #d7e3dc; + --line-2: #c6d8cf; + --muted: #55705f; + --ink: #0f241d; + --ink-2: #27453a; + --accent: #16543f; + --accent-2: #1d7a58; + color: #0f241d; +} +:root[data-theme="light"] .scr a, +:root[data-bs-theme="light"] .scr a { color: #16543f; } +:root[data-theme="light"] .scr em, +:root[data-theme="light"] .scr small, +:root[data-theme="light"] .scr .sub, +:root[data-theme="light"] .scr .meta, +:root[data-theme="light"] .scr .unit, +:root[data-theme="light"] .scr .panel-sub, +:root[data-theme="light"] .scr .scr-links, +:root[data-theme="light"] .scr .scr-foot { color: #55705f !important; } +:root[data-theme="light"] .scr-tags a, +:root[data-theme="light"] .scr-tabs a, +:root[data-theme="light"] .scr-switch, +:root[data-theme="light"] .scr-head .sub { color: #27453a !important; background: #ffffff; border: 1px solid #d7e3dc; } +:root[data-theme="light"] .scr-tags a.on, +:root[data-theme="light"] .scr-tabs a.on { color: #ffffff !important; background: linear-gradient(135deg,#16543f,#2fa37a); border-color: transparent; } +:root[data-theme="light"] .kpi, +:root[data-theme="light"] .kpi b, +:root[data-theme="light"] .kpi strong, +:root[data-theme="light"] .kpi small, +:root[data-theme="light"] .kpi .unit { color: #0f241d !important; } +:root[data-theme="light"] .kpi b, +:root[data-theme="light"] .kpi strong { color: #16543f !important; } +:root[data-theme="light"] .heat-cell, +:root[data-theme="light"] .heat-cell span, +:root[data-theme="light"] .heat-cell b { color: #0f241d !important; } +:root[data-theme="light"] .heat-cell b { color: #16543f !important; } +:root[data-theme="light"] .heat-cell.out { opacity: .55 !important; } +:root[data-theme="light"] .heat-cell .note, +:root[data-theme="light"] .heat-legend { color: #55705f !important; } +:root[data-theme="light"] .top-item, +:root[data-theme="light"] .top-item span, +:root[data-theme="light"] .top-item b, +:root[data-theme="light"] .due-item, +:root[data-theme="light"] .today-item { color: #0f241d !important; } +:root[data-theme="light"] .top-item .pkg-tag, +:root[data-theme="light"] .top-item em, +:root[data-theme="light"] .today-item em { color: #1d7a58 !important; } +:root[data-theme="light"] .panel-head h2 { color: #0f241d; } +:root[data-theme="light"] .heat-dow span { color: #55705f !important; } +:root[data-theme="light"] .scr-note { color: #55705f !important; } \ No newline at end of file