From 47b93b85c169344214b95ff9b3322ec9b3152da5 Mon Sep 17 00:00:00 2001 From: subtrack Date: Tue, 20 Oct 2026 00:12:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(v1.9.4):=20=E5=A4=A7=E5=B1=8F=E5=BC=B1?= =?UTF-8?q?=E5=8C=96=E6=96=87=E5=AD=97=E6=8F=90=E4=BA=AE=EF=BC=8C=E5=8F=AF?= =?UTF-8?q?=E8=AF=BB=E6=80=A7=E5=AF=B9=E6=AF=94=E5=BA=A6=E8=BE=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 大屏弱化文字(控制台/日期/链接/说明/表头/TOP 副标题/热力日期)统一提亮到 4.5:1 以上 - KPI 数值改用高亮近白色,热力低档文字提亮 - 非本月日期单独提亮一档,保留层级但仍可读 - 无头浏览器检查:对比度告警从 113 处降到 14 处,剩余仅非本月日期的 4.27:1(刻意弱化,已提亮) - 版本 1.9.3 → 1.9.4;仅前端样式 --- internal/web/static/screen.css | 13 +++++++++++++ main.go | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/internal/web/static/screen.css b/internal/web/static/screen.css index 3f0f1f1..a385a68 100644 --- a/internal/web/static/screen.css +++ b/internal/web/static/screen.css @@ -424,3 +424,16 @@ body::before { /* v1.9.2 ink */ .scr-tabs a.on { background: linear-gradient(135deg,#16543f,#2fa37a); border-color: transparent; } + +/* v1.9.4:大屏弱化文字提亮,提升可读性 */ +.scr { --muted: #9fb8ab; --ink-2: #b9d2c6; } +.scr-links, .scr-foot, .scr-head .sub, .scr-head em, +.kpi small, .kpi .unit, .panel-sub, +.top-item .meta, .top-item .sub, .due-item .sub, +.heat-cell .lbl, .scr-note { color: #a9c3b6 !important; } +.scr a { color: #8fe0bf !important; } +.cal-dow span, .scr-cal .dow { color: #a9c3b6 !important; } +.kpi b, .kpi strong { color: #eafff6 !important; } +.heat-cell.h1 { color: #dff5ea; } +/* v1.9.4:非本月日期再提亮一档 */ +.heat-cell.out, .scr-cal .out { color: #a9c3b6 !important; opacity: .85; } \ No newline at end of file diff --git a/main.go b/main.go index 4ccc6de..d6783d8 100644 --- a/main.go +++ b/main.go @@ -26,7 +26,7 @@ import ( "daili/internal/web" ) -const version = "1.9.3" +const version = "1.9.4" func main() { cfgFlag := flag.String("config", "", "配置文件路径(默认:exe 同级的 "+config.FileName+")")