refactor(client): Phase 0.1 统一中文字体地基(golden 消豆腐块,可与原型保真比对)
- 打包 Noto Sans SC(pubspec fonts:),ThemeData.fontFamily 全平台统一 - golden_harness 用 FontLoader 注入 ttf + withGoldenFont,golden 渲染真实中文 - 修复 data_table_card 根因:DefaultTextStyle → .merge(替换式会吞掉继承字体, 导致所有表格屏表头/单元格渲染豆腐块);顺手 hover 硬编码色 → context.tokens.rowHover - 全部 golden 用新字体重生成;test/golden/failures/ 加入 gitignore Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TSKEiHsvauyxYUW2itzUXX
This commit is contained in:
@@ -33,6 +33,9 @@ migrate_working_dir/
|
||||
/build/
|
||||
/coverage/
|
||||
|
||||
# Golden test diff artifacts (transient, regenerated on failure)
|
||||
test/golden/failures/
|
||||
|
||||
# Symbolication related
|
||||
app.*.symbols
|
||||
|
||||
|
||||
Reference in New Issue
Block a user