fix: 代码审查修复 — 空值保护、Firefox渐变、移动端导航、CSS变量化、NPM私服配置

- index.html: section.items空值检查(5处)、移除dead badgeStyle
- 物流网报告×3 + AI转型方案×3: 添加background-clip:text兼容Firefox
- ai-dev-workflow/v2: 移动端汉堡导航+抽屉覆盖层+返回顶部
- crmeb-deploy-plan: Markdown→HTML+新增NPM私服(Verdaccio)章节
- 需求对比分析报告: 谷歌蓝→品牌蓝, CSS变量化
- ai-dev-workflow-v2: npm私服统一指向npm.ycbat.com(上游阿里云镜像)
- CLAUDE.md/design-tokens.md: 修正UI规范与目录文档
This commit is contained in:
zdh
2026-05-31 16:43:08 +08:00
parent ddcbd3f1f2
commit a2eea31c9b
17 changed files with 10362 additions and 95 deletions
+3 -2
View File
@@ -180,9 +180,10 @@ Ant Design v5 四级圆角体系:
## 8. 主题
全部页面(索引页 + 报告页)统一使用**亮色主题**。
- **索引页(`index.html`**:支持亮色/暗色双主题,通过 `data-theme` 属性 + localStorage 键 `wiki-theme` 持久化,同时跟随 `prefers-color-scheme: dark` 系统偏好
- **报告页(`{主题}/报告/*.html`)**:统一使用**亮色主题**,不定义暗色 CSS 变量
主题切换通过 CSS 自定义属性实现,所有颜色 Token 同时定义亮色和暗色两套值
亮色/暗色两套颜色 Token 值在 §1 中已定义,索引页 `:root``[data-theme="dark"]` 选择器分别引用
---