emrg: GUI 重设计 P1 — 双主题设计令牌 + 新布局骨架 - #415
Closed
argszero wants to merge 1 commit into
Closed
Conversation
按 docs/design/gui-redesign.md(宿主已确认)实施 P1: - css/tokens.css:双主题令牌(浅色 #fafafa / 深色 #17181c,品牌绿 #16a06c/#2fbf83) - css/base.css:reset + 全局排版(正文 15px/1.7)+ markdown 基础样式 - css/layout.css:侧边栏 260px(品牌区/新对话/会话列表/底部设置+连接圆点)、 聊天区居中 760px、卡片式输入区(圆形 ↑ 发送按钮) - css/components.css:旧 app.css 组件样式迁移改用 tokens(消息/工具卡/对话框/会话项) - index.html:新骨架(去掉技术状态栏,技术信息收纳隐藏但保留 DOM id 兼容 app.js) - 删除 app.css 功能不丢:app.js 27 个 DOM id 全部保留;npm test 29 全绿;472 Python tests 通过
argszero
commented
Aug 5, 2026
argszero
left a comment
Owner
Author
There was a problem hiding this comment.
✅ LGTM — cycle 20260806-0705
P1 设计令牌 + 布局骨架符合 docs/design/gui-redesign.md §2/§3:
- tokens.css 双主题(浅色 #fafafa / 深色 #17181c,品牌绿 #16a06c/#2fbf83)精确对齐设计文档色值
- 布局:侧边栏 260px、聊天区居中 760px、卡片式输入区 + 圆形发送按钮 ✓
- 兼容性:app.js 27 个 DOM id 全保留、preload/daemon_client 零改动、CSP 不变 ✓
- 验证:npm test 29 绿 + 472 Python tests 通过 ✓
5 tasks
argszero
commented
Aug 5, 2026
argszero
left a comment
Owner
Author
There was a problem hiding this comment.
✅ LGTM — cycle 20260806-0708
复查 P1(设计令牌 + 布局骨架):
- tokens.css 双主题色值逐项对齐 docs/design/gui-redesign.md §2(浅色 #fafafa/#16a06c、深色 #17181c/#2fbf83、三档阴影、圆角 18/12/14/20px)✓
- base/layout/components 三文件拆分清晰,.msg.assistant 全宽无气泡 + 用户右对齐气泡符合 §3.3 ✓
- 边界保持:preload/daemon_client 零改动、CSP 不变、vendor 不变 ✓
- 验证:npm test 29 绿 + pytest 464 绿 ✓
P1 无问题,可合并。
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
GUI 完全重设计 rant(2026-08-05T21:59:47,宿主已确认设计文档 docs/design/gui-redesign.md)。分 P1-P6 实施,本期为 P1:tokens(双主题)+base+layout+骨架。
改动
兼容性
后续阶段
P2 chat.js 气泡/✦消息/流式/工具友好行 → P3 sidebar 时间分组/右键/折叠+空状态 → P4 dialogs 首启向导/设置/确认+文案映射 → P5 动效+快捷键+深色校准 → P6 测试更新+三平台验证