feat(client): KPI 图标改用 lucide(与原型同源图形库)

原型图标源自 lucide-static(icons.js)。引入 lucide_icons_flutter 包,
库存屏 KPI 图标改 LucideIcons.box/database/box/triangleAlert,与原型一模一样
(不再用 Material 凑近似)。golden_harness 加载 Lucide package 字体(family 带
packages/ 前缀),golden 正确渲染。flutter test 242 通过。

后续:侧栏/顶栏/状态栏图标也逐步换 lucide(对照 shell.js)。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TSKEiHsvauyxYUW2itzUXX
This commit is contained in:
wangjia
2026-06-25 22:56:10 +08:00
parent 00d9410bd3
commit 0b19a99fda
10 changed files with 22 additions and 4 deletions
+8
View File
@@ -469,6 +469,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.3"
lucide_icons_flutter:
dependency: "direct main"
description:
name: lucide_icons_flutter
sha256: "7c5dc01a32a9905ae34e2d84224e92d6d0c42acf8926df9e01c35a1446bf1b69"
url: "https://pub.dev"
source: hosted
version: "3.1.14+2"
matcher:
dependency: transitive
description: