From 8a4967c064a862603f2c22bacd56278b05ecd98a Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Fri, 30 Oct 2026 21:02:21 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=95=8C=E9=9D=A2=E8=AE=BE=E8=AE=A1):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BE=A7=E8=BE=B9=E6=A0=8F=E8=AE=A1=E6=95=B0?= =?UTF-8?q?=E6=A1=86=E4=B8=BB=E9=A2=98=E9=85=8D=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/ofdgo.css | 4 +++- assets/webui/ofdgo.js | 10 +++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/assets/webui/ofdgo.css b/assets/webui/ofdgo.css index 1a117aa..b839617 100644 --- a/assets/webui/ofdgo.css +++ b/assets/webui/ofdgo.css @@ -7,6 +7,7 @@ --line-strong: #c5cdd2; --panel: #f5f7f8; --page: #ffffff; + --text-secondary: #52616b; --text-muted: #728087; --accent: #087f6d; --accent-soft: rgba(15, 123, 104, 0.12); @@ -59,6 +60,7 @@ --bar-line: #30383e; --line: #374047; --line-strong: #505d66; + --text-secondary: #b8c4cc; --text-muted: #9aa8b1; --accent: #65cbb6; --accent-soft: rgba(101, 203, 182, 0.16); @@ -3982,7 +3984,7 @@ audio.page-media { border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--base); - color: var(--text-muted); + color: var(--text-secondary); font-size: 12px; text-align: center; white-space: nowrap; diff --git a/assets/webui/ofdgo.js b/assets/webui/ofdgo.js index 83bc42d..8e18c41 100644 --- a/assets/webui/ofdgo.js +++ b/assets/webui/ofdgo.js @@ -12636,10 +12636,14 @@ function fontSummary(fonts) { } const missing = fonts.filter((font) => font.status === "missing").length; const fallback = fonts.filter((font) => font.status === "fallback").length; - if (missing || fallback) { - return `${fonts.length} · 缺失 ${missing} · 回退 ${fallback}`; + const parts = [String(fonts.length)]; + if (missing) { + parts.push(`缺失 ${missing}`); } - return `共 ${fonts.length}`; + if (fallback) { + parts.push(`回退 ${fallback}`); + } + return parts.join(" · "); } function pageStatus(index, pageCount) {