main: 增加全局暗黑模式支持及 Markdown 渲染功能

- 实现暗黑模式切换逻辑,支持系统主题适配
- 优化全局样式,添加动态主题变量及暗黑样式
- 引入 `markdown-it` 和 `mermaid`,支持 Markdown 内容及流程图渲染
- 更新 ChatView 测试用例,验证 Markdown 和 Mermaid 渲染效果
- 修改 package.json,增加新依赖
This commit is contained in:
2025-12-22 12:37:59 +08:00
parent 9b48ff3e3b
commit 9280fbe762
13 changed files with 1846 additions and 165 deletions

1270
package-lock.json generated

File diff suppressed because it is too large Load Diff