feat: add a selectable mist blue appearance for Orven
@@ -50,6 +50,10 @@ Orven 理解你的项目,和你一起研究问题、编写代码,把想法
|
||||
|
||||
品牌主色为深青绿 **#176B5B**,配合松墨 **#28382F**、雾灰 **#F3F6F4** 与白色画布。选中和聚焦使用浅绿 **#E7F2EB**;错误、确认与文件差异保持各自的状态语义。此配色取代初版鸢尾色,使 Orven 与用户已有产品形成区别。
|
||||
|
||||
工作台提供可选「雾蓝」外观:靛蓝 **#4F6EF7**、雾蓝白画布 **#F6F8FC**、深蓝灰正文 **#24334B**、选中 **#EDF1FF**。依据用户提供的数字教材工作台截图提取配色,保留 Orven 的结构与标识;白字按钮用 **#4563E6**,小字强调用 **#3D58CD**,保证阅读对比。右上角调色盘或「工具箱 → 外观」立即切换,深青绿仍为默认。
|
||||
|
||||
选择保存在当前浏览器或桌面窗口所属的本地配置中,刷新和重新打开时恢复;同源标签页同步,手机按自己的浏览器选择。安装图标和品牌页保留深青绿,应用内标识、桌面浏览器图标与网页主题色随配色改变。手机图标沿用配对网关已允许的资源路径。
|
||||
|
||||
- `public/brand/orven-symbol.svg`:透明图形标。
|
||||
- `public/brand/orven-wordmark.svg`:横向图文标;使用 Segoe UI,跨平台交换前需确认字体或转曲。
|
||||
- `public/favicon.svg`、`public/mobile-icon.svg`:应用图标。
|
||||
|
||||
@@ -50,6 +50,21 @@
|
||||
|
||||
上方代表截图已更新为深青绿版本,初版截图仍可从先前本地提交 b4b139a1 查看。
|
||||
|
||||
## 深青绿 / 雾蓝外观选择
|
||||
|
||||
按用户提供的数字教材工作台截图,取 #4F6EF7 强调、#F6F8FC 画布、#EDF1FF 选中与 #24334B 正文,新增「雾蓝」,保留默认「深青绿」。白字按钮采用 #4563E6,小字强调 #3D58CD。公共角色变量覆盖主界面、模型中心、文件/差异、工具面板和手机主题,成功、错误、确认和差异状态保持原语义。
|
||||
|
||||
本轮 TypeScript、Vite 与 mobile shell 构建通过;两套配色各完成现有主路径 10 组,共 20 组,各自使用 3 次本机协议请求、0 真实模型调用。选择面板另有 5 组通过:工具箱与直接入口、即时切换且保留草稿、刷新后恢复、原生单选键盘与焦点返回、多标签页同步、一次性预览链接、无效选择回退、390px/实际手机伴随端页面、保存不可用的明确提示。外观验证对后端写请求为 0。实际查看了桌面、差异、外观面板和伴随端截图。
|
||||
|
||||
- [深青绿 10 组结果](evidence/themes-green-result.json)
|
||||
- [雾蓝 10 组结果](evidence/themes-blue-result.json)
|
||||
- [外观 5 组及文字对比](evidence/appearance-result.json):7 个 DOM 文字样本为 4.94:1–5.79:1;其中白字按钮 5.02:1。不是全应用可访问性认证。
|
||||
- [雾蓝主界面](screenshots/blue-desktop.png)、[任务与差异](screenshots/blue-task-results.png)、[选择面板](screenshots/appearance.png)、[390px 会话](screenshots/blue-mobile.png)。
|
||||
|
||||
首轮将原生 radio 裁成 1px 后,自动点击被标签拦截;改为透明 radio 覆盖整张选择卡,保持原生键盘语义并扩大点击范围。随后存储异常验证误等待窄屏中隐藏的连接状态为可见,修正为核对已连接 DOM 状态,产品连接未改。原本机失败输出保留在 `output/playwright/orven-appearance/`,后续 5 组通过。
|
||||
|
||||
复验命令为 `npm run verify:appearance`。现有主路径默认深青绿,设置 `ORVEN_QA_PALETTE=blue` 则验雾蓝。偏好按浏览器来源保存,同源多页同步,实际手机各自保存;未声称跨设备同步或实际 iPhone 配对。品牌展示页与安装图标沿用深青绿,本轮不涉及桌面宿主生命周期和正式安装。
|
||||
|
||||
## 边界
|
||||
|
||||
全部模型执行来自明确的本机测试接口;未用真实供应商验证新的模型能力。手机伴随端完成品牌和主题,主工作台窄屏已经实际验收;本轮未进行真实 iPhone 配对。安装器显示名更新仅在源码,未重制安装包或更改正式安装。名称的商标、域名和商店可用性尚未核验。
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"checks": [
|
||||
"visible appearance choice updates all surfaces, favicon and metadata; draft survives switching and selection survives reload",
|
||||
"native keyboard selection, focus return and cross-tab preference sync work without backend mutations",
|
||||
"preview links select once and preserve other URL data; latest selection wins on reload and invalid stored choices recover",
|
||||
"390px workbench and actual companion shell expose the same two choices and retain local preference",
|
||||
"unavailable preference storage keeps switching usable and reports that the choice was not saved"
|
||||
],
|
||||
"contrast": [
|
||||
{
|
||||
"label": "blue appearance description",
|
||||
"foreground": "rgb(98, 113, 138)",
|
||||
"background": "rgb(255, 255, 255)",
|
||||
"ratio": 4.94
|
||||
},
|
||||
{
|
||||
"label": "blue saved state",
|
||||
"foreground": "rgb(98, 113, 138)",
|
||||
"background": "rgb(255, 255, 255)",
|
||||
"ratio": 4.94
|
||||
},
|
||||
{
|
||||
"label": "blue welcome text",
|
||||
"foreground": "rgb(82, 100, 127)",
|
||||
"background": "rgb(246, 248, 252)",
|
||||
"ratio": 5.66
|
||||
},
|
||||
{
|
||||
"label": "blue selected navigation",
|
||||
"foreground": "rgb(61, 88, 205)",
|
||||
"background": "rgb(248, 250, 255)",
|
||||
"ratio": 5.79
|
||||
},
|
||||
{
|
||||
"label": "blue primary action",
|
||||
"foreground": "rgb(255, 255, 255)",
|
||||
"background": "rgb(69, 99, 230)",
|
||||
"ratio": 5.02
|
||||
},
|
||||
{
|
||||
"label": "blue model category",
|
||||
"foreground": "rgb(61, 88, 205)",
|
||||
"background": "rgb(237, 241, 255)",
|
||||
"ratio": 5.36
|
||||
},
|
||||
{
|
||||
"label": "green appearance description",
|
||||
"foreground": "rgb(95, 112, 102)",
|
||||
"background": "rgb(255, 255, 255)",
|
||||
"ratio": 5.26
|
||||
}
|
||||
],
|
||||
"errors": [],
|
||||
"backendMutations": [],
|
||||
"realModelCalls": 0,
|
||||
"userDataAccessed": false
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"palette": "blue",
|
||||
"checks": [
|
||||
"Orven identity, actual project context and focused new-task surface",
|
||||
"starter prompts do not execute; missing model preserves input and opens connection setup",
|
||||
"tool search, no-result recovery, keyboard selection and real file preview preserve the draft",
|
||||
"model creation and selection persist across refresh; setup emits no model requests",
|
||||
"real three-request local protocol flow reads and writes the owned project; diff and conversation survive refresh",
|
||||
"permission choice is saved and restored rather than shown as a cosmetic selection",
|
||||
"external file conflict preserves external bytes and unsaved editor input, with a visible recovery message",
|
||||
"1280/1024/768/390 layouts keep the document contained; mobile navigation and result drawer work",
|
||||
"skills, MCP and diagnostics remain connected through the new tool navigation",
|
||||
"brand page, interactive mark backgrounds and downloadable SVG/PNG/ICO assets render without browser errors"
|
||||
],
|
||||
"errors": [],
|
||||
"modelCalls": 3,
|
||||
"realModelCalls": 0,
|
||||
"fixtureOnly": true,
|
||||
"userDataAccessed": false
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"palette": "green",
|
||||
"checks": [
|
||||
"Orven identity, actual project context and focused new-task surface",
|
||||
"starter prompts do not execute; missing model preserves input and opens connection setup",
|
||||
"tool search, no-result recovery, keyboard selection and real file preview preserve the draft",
|
||||
"model creation and selection persist across refresh; setup emits no model requests",
|
||||
"real three-request local protocol flow reads and writes the owned project; diff and conversation survive refresh",
|
||||
"permission choice is saved and restored rather than shown as a cosmetic selection",
|
||||
"external file conflict preserves external bytes and unsaved editor input, with a visible recovery message",
|
||||
"1280/1024/768/390 layouts keep the document contained; mobile navigation and result drawer work",
|
||||
"skills, MCP and diagnostics remain connected through the new tool navigation",
|
||||
"brand page, interactive mark backgrounds and downloadable SVG/PNG/ICO assets render without browser errors"
|
||||
],
|
||||
"errors": [],
|
||||
"modelCalls": 3,
|
||||
"realModelCalls": 0,
|
||||
"fixtureOnly": true,
|
||||
"userDataAccessed": false
|
||||
}
|
||||
@@ -26,3 +26,6 @@
|
||||
|
||||
- 用户要求另选色系后,统一改为深青绿 #176B5B、松墨正文与雾灰导航;同步工作台、模型中心、手机端、品牌页和全部应用标识,重新生成 PNG/ICO。
|
||||
- 配色调整后的 Vite/mobile shell 构建、现有浏览器 10 组通过;实际检查桌面、模型中心、品牌页与 390px 页面,9 个 DOM 对比样本为 5.11:1–12.38:1。原紫调色值已从本次主题及品牌资源中移除,代表截图更新;未重建服务端或触碰并行工程修复。
|
||||
|
||||
- 用户提供新参考图后,新增「雾蓝」外观,保留默认深青绿。统一为公共角色颜色变量,两套配色覆盖工作台、文件/成果、模型中心及工具面板;手机伴随端共用外观面板。右上角与工具箱均可打开,选择即时保存,同源多页同步,存储不可用有实际反馈;预览链接只选择一次,不覆盖之后的用户选择。
|
||||
- TypeScript/Vite/mobile shell 构建通过,两套各 10 组任务主路径及外观 5 组通过;0 真实模型、0 用户数据,外观切换 0 后端写请求。7 个文字对比样本 4.94:1–5.79:1。已检查雾蓝桌面/差异、外观选择与手机端真实渲染;本轮未改变品牌页和安装图标,不制作发行包或替换正式安装。
|
||||
|
||||
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 102 KiB |
@@ -26,3 +26,9 @@
|
||||
- 系统 Node26 不满足桌面启动测试所需的已核验 Node24;改用仓库 Node24,两项通过。
|
||||
- 品牌页内联交互脚本被原有 CSP 阻止;改用同源外部脚本,不改变安全策略。
|
||||
- 初次 patch 同时删除/新增同一图标路径被工具拒绝,未写入;改为原位 Update。
|
||||
|
||||
## 可选雾蓝配色
|
||||
|
||||
用户补充参考图后,保留默认深青绿,新增「雾蓝」可选主题。参考图实际像素为强调 #4F6EF7、画布 #F6F8FC、选中 #EDF1FF、正文 #24334B;白字按钮采用更深的 #4563E6,小字强调用 #3D58CD。沿用现有布局与任务流程,通过公共颜色变量覆盖文件、模型中心与工具面板。
|
||||
|
||||
实现右上角及工具箱「外观」入口、原生单选与即时切换、本机浏览器保存和同源多标签页同步、手机伴随端入口;初始化在 React 渲染前应用选择。验证包含两套各 10 组主路径、切换/保存/恢复/存储不可用 5 组以及实际截图和文字对比。
|
||||
|
||||