From 7623a4c7025385af35cce92dbf05444cd3df0964 Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Thu, 25 Jun 2026 21:20:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(client):=20=E7=9C=9F=E6=9C=BA=E5=AD=97?= =?UTF-8?q?=E4=BD=93=E6=94=B9=E5=9B=9E=E7=B3=BB=E7=BB=9F=E9=BB=98=E8=AE=A4?= =?UTF-8?q?(PingFang=EF=BC=8C=E5=AF=B9=E9=BD=90=E5=8E=9F=E5=9E=8B)=20+=20?= =?UTF-8?q?=E5=8E=9F=E5=9E=8B=E5=8E=BB=E6=96=B0=E5=A2=9E=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - themes.dart 不再全局强制 NotoSansSC:真机用系统字体(macOS/iOS=PingFang SC, 与原型 --font 一致),消除真机字体偏离原型;Noto 仅 golden 测试加载(CI 无中文字体) - 原型 inventory.html 同步去掉「新增入库」按钮,与代码保持一致 Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01TSKEiHsvauyxYUW2itzUXX --- .superpowers/prototype/screens/inventory.html | 1 - client/lib/core/theme/themes.dart | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.superpowers/prototype/screens/inventory.html b/.superpowers/prototype/screens/inventory.html index b0d43a9..3ef44d8 100644 --- a/.superpowers/prototype/screens/inventory.html +++ b/.superpowers/prototype/screens/inventory.html @@ -48,7 +48,6 @@
列设置
导出
-
新增入库
diff --git a/client/lib/core/theme/themes.dart b/client/lib/core/theme/themes.dart index ed78fe3..2baa8c8 100644 --- a/client/lib/core/theme/themes.dart +++ b/client/lib/core/theme/themes.dart @@ -18,8 +18,8 @@ ThemeData buildTheme(String key) { brightness: brightness, colorScheme: scheme, scaffoldBackgroundColor: t.bg, - // 全平台统一中文字体(与原型截图、golden 保真 diff 一致);打包内置。 - fontFamily: 'NotoSansSC', + // 字体走系统默认(macOS/iOS=PingFang SC,与原型 --font 一致);不强制 Noto。 + // Noto 仅 golden 测试加载(CI 无中文字体),见 test/support/golden_harness.dart。 extensions: >[t], ); }