feat: restore Orven iris purple appearance with remembered defaults
This commit is contained in:
+5
-2
@@ -48,15 +48,18 @@ Orven 理解你的项目,和你一起研究问题、编写代码,把想法
|
||||
|
||||
图形由开放环线和前向笔画构成:项目正在被理解与形成,工作继续向前。字标采用紧凑但可读的自然字形,应用图标采用单色深青绿底和白色图形。
|
||||
|
||||
品牌主色为深青绿 **#176B5B**,配合松墨 **#28382F**、雾灰 **#F3F6F4** 与白色画布。选中和聚焦使用浅绿 **#E7F2EB**;错误、确认与文件差异保持各自的状态语义。此配色取代初版鸢尾色,使 Orven 与用户已有产品形成区别。
|
||||
品牌主色为深青绿 **#176B5B**,配合松墨 **#28382F**、雾灰 **#F3F6F4** 与白色画布。选中和聚焦使用浅绿 **#E7F2EB**;错误、确认与文件差异保持各自的状态语义。深青绿用于品牌展示与首次打开工作台,日常工作台配色由用户选择。
|
||||
|
||||
工作台提供可选「雾蓝」外观:靛蓝 **#4F6EF7**、雾蓝白画布 **#F6F8FC**、深蓝灰正文 **#24334B**、选中 **#EDF1FF**。依据用户提供的数字教材工作台截图提取配色,保留 Orven 的结构与标识;白字按钮用 **#4563E6**,小字强调用 **#3D58CD**,保证阅读对比。右上角调色盘或「工具箱 → 外观」立即切换,深青绿仍为默认。
|
||||
工作台提供可选「雾蓝」外观:靛蓝 **#4F6EF7**、雾蓝白画布 **#F6F8FC**、深蓝灰正文 **#24334B**、选中 **#EDF1FF**。依据用户提供的数字教材工作台截图提取配色,保留 Orven 的结构与标识;白字按钮用 **#4563E6**,小字强调用 **#3D58CD**,保证阅读对比。
|
||||
|
||||
第三套「鸢尾紫」恢复初版视觉:紫色操作 **#6253B5**、浅灰导航 **#F5F5F8**、纯白工作区、正文 **#37333F**、选中 **#E9E5F3**、强调底色 **#EFECF9**。右上角调色盘或「工具箱 → 外观」展示三套配色,点击立即生效,并将最后选择设为以后打开时的默认配色。桌面三列并排预览,600px 及以下改为纵向排列,完整保留三项预览和保存状态。
|
||||
|
||||
选择保存在当前浏览器或桌面窗口所属的本地配置中,刷新和重新打开时恢复;同源标签页同步,手机按自己的浏览器选择。安装图标和品牌页保留深青绿,应用内标识、桌面浏览器图标与网页主题色随配色改变。手机图标沿用配对网关已允许的资源路径。
|
||||
|
||||
- `public/brand/orven-symbol.svg`:透明图形标。
|
||||
- `public/brand/orven-wordmark.svg`:横向图文标;使用 Segoe UI,跨平台交换前需确认字体或转曲。
|
||||
- `public/favicon.svg`、`public/mobile-icon.svg`:应用图标。
|
||||
- `public/brand/orven-icon-blue.svg`、`orven-icon-purple.svg`:可选外观的浏览器图标。
|
||||
- `public/workbench-icon.png`、`.ico`:桌面图标,沿用原资源路径保持启动器兼容。
|
||||
- `public/brand.html`:可直接打开的品牌展示页。
|
||||
|
||||
|
||||
@@ -65,6 +65,19 @@
|
||||
|
||||
复验命令为 `npm run verify:appearance`。现有主路径默认深青绿,设置 `ORVEN_QA_PALETTE=blue` 则验雾蓝。偏好按浏览器来源保存,同源多页同步,实际手机各自保存;未声称跨设备同步或实际 iPhone 配对。品牌展示页与安装图标沿用深青绿,本轮不涉及桌面宿主生命周期和正式安装。
|
||||
|
||||
## 三套配色与重新打开记忆
|
||||
|
||||
恢复初版「鸢尾紫」为第三套选择:#6253B5 操作、#F5F5F8 导航、纯白工作区、#37333F 正文。三套均使用同一偏好保存机制,首次打开为深青绿,之后恢复最后选择;面板明确显示「已设为默认配色,下次打开会继续使用」。桌面三列,600px 及以下纵排。
|
||||
|
||||
本轮 Node24 下 TypeScript、Vite 与 mobile shell 构建通过。紫色现有主路径 10 组通过,3 次本机协议夹具请求、0 真实模型、0 pageerror;外观 7 组通过,0 后端写请求。使用自有临时磁盘 profile,实际选择雾蓝、关闭浏览器并重启核对恢复,再对深青绿和鸢尾紫分别重复;未注入 storageState 或使用用户浏览器配置。另验证刷新/同源多页、原生键盘和焦点返回、紫色一次性链接、无效值回退、存储不可用提示,以及 600/390/320px 面板和实际伴随端 shell。
|
||||
|
||||
- [紫色 10 组主路径](evidence/themes-purple-result.json)
|
||||
- [三套外观 7 组及文字对比](evidence/appearance-three-palettes-result.json):13 个 DOM 样本,其中紫色 6 个样本为 4.96:1–7.64:1,白字按钮 6.13:1。
|
||||
- [紫色工作台](screenshots/purple-desktop.png)、[任务与差异](screenshots/purple-task-results.png)、[390px 会话](screenshots/purple-mobile.png)。
|
||||
- [三套配色面板](screenshots/appearance-three-palettes.png)、[390px 选择面板](screenshots/appearance-three-palettes-mobile.png)。
|
||||
|
||||
实际查看上述桌面/差异、320/390px 和伴随端截图,三套选项及保存提示均完整可见。复验命令为 `npm run verify:appearance`;`ORVEN_QA_PALETTE=purple` 配合 `npm run verify:orven` 验紫色主路径。原两套测试记录保持,未重跑桌面宿主生命周期或正式安装。
|
||||
|
||||
## 边界
|
||||
|
||||
全部模型执行来自明确的本机测试接口;未用真实供应商验证新的模型能力。手机伴随端完成品牌和主题,主工作台窄屏已经实际验收;本轮未进行真实 iPhone 配对。安装器显示名更新仅在源码,未重制安装包或更改正式安装。名称的商标、域名和商店可用性尚未核验。
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
{
|
||||
"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",
|
||||
"original purple palette restores white workspace and gray navigation, updates metadata and persists across reload and tabs",
|
||||
"preview links select once and preserve other URL data; latest selection wins on reload and invalid stored choices recover",
|
||||
"600px, 390px and 320px panels fit all three choices; actual companion shell retains local preference and gateway icon",
|
||||
"unavailable preference storage keeps switching usable and reports that the choice was not saved",
|
||||
"each palette survives a full browser close and relaunch using the same isolated persistent profile"
|
||||
],
|
||||
"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
|
||||
},
|
||||
{
|
||||
"label": "purple appearance description",
|
||||
"foreground": "rgb(113, 105, 121)",
|
||||
"background": "rgb(255, 255, 255)",
|
||||
"ratio": 5.25
|
||||
},
|
||||
{
|
||||
"label": "purple saved state",
|
||||
"foreground": "rgb(113, 105, 121)",
|
||||
"background": "rgb(255, 255, 255)",
|
||||
"ratio": 5.25
|
||||
},
|
||||
{
|
||||
"label": "purple welcome text",
|
||||
"foreground": "rgb(87, 81, 95)",
|
||||
"background": "rgb(255, 255, 255)",
|
||||
"ratio": 7.64
|
||||
},
|
||||
{
|
||||
"label": "purple selected navigation",
|
||||
"foreground": "rgb(98, 83, 181)",
|
||||
"background": "rgb(245, 245, 248)",
|
||||
"ratio": 5.64
|
||||
},
|
||||
{
|
||||
"label": "purple primary action",
|
||||
"foreground": "rgb(255, 255, 255)",
|
||||
"background": "rgb(98, 83, 181)",
|
||||
"ratio": 6.13
|
||||
},
|
||||
{
|
||||
"label": "purple model category",
|
||||
"foreground": "rgb(98, 83, 181)",
|
||||
"background": "rgb(233, 229, 243)",
|
||||
"ratio": 4.96
|
||||
}
|
||||
],
|
||||
"errors": [],
|
||||
"backendMutations": [],
|
||||
"realModelCalls": 0,
|
||||
"userDataAccessed": false
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"palette": "purple",
|
||||
"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
|
||||
}
|
||||
@@ -29,3 +29,7 @@
|
||||
|
||||
- 用户提供新参考图后,新增「雾蓝」外观,保留默认深青绿。统一为公共角色颜色变量,两套配色覆盖工作台、文件/成果、模型中心及工具面板;手机伴随端共用外观面板。右上角与工具箱均可打开,选择即时保存,同源多页同步,存储不可用有实际反馈;预览链接只选择一次,不覆盖之后的用户选择。
|
||||
- TypeScript/Vite/mobile shell 构建通过,两套各 10 组任务主路径及外观 5 组通过;0 真实模型、0 用户数据,外观切换 0 后端写请求。7 个文字对比样本 4.94:1–5.79:1。已检查雾蓝桌面/差异、外观选择与手机端真实渲染;本轮未改变品牌页和安装图标,不制作发行包或替换正式安装。
|
||||
|
||||
- 按用户最新要求,恢复初版「鸢尾紫」为第三套外观,接入公共颜色、网页图标和初始化校验。保存提示明确为「已设为默认配色,下次打开会继续使用」。桌面面板三列,600px 及以下纵向展示,320px 仍完整可见。
|
||||
- Node24 下 TypeScript、Vite 与 mobile shell 构建通过;紫色任务主路径 10 组、外观 7 组通过。三套分别在自有持久化浏览器配置中完全关闭、重新启动后恢复,刷新/多页/一次性链接/异常保存/手机入口也通过;外观 0 后端写入、0 pageerror。紫色 6 个实际 DOM 对比样本为 4.96:1–7.64:1。
|
||||
- 已实际查看紫色桌面、文件差异、三套选择面板、390/320px 及伴随端渲染,保存新截图和本轮证据,不覆盖原两套验收记录。交付仍为本地源码与独立 4327 预览;正式服务和并行后端修改不纳入本次提交。
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 126 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 101 KiB |
@@ -32,3 +32,9 @@
|
||||
用户补充参考图后,保留默认深青绿,新增「雾蓝」可选主题。参考图实际像素为强调 #4F6EF7、画布 #F6F8FC、选中 #EDF1FF、正文 #24334B;白字按钮采用更深的 #4563E6,小字强调用 #3D58CD。沿用现有布局与任务流程,通过公共颜色变量覆盖文件、模型中心与工具面板。
|
||||
|
||||
实现右上角及工具箱「外观」入口、原生单选与即时切换、本机浏览器保存和同源多标签页同步、手机伴随端入口;初始化在 React 渲染前应用选择。验证包含两套各 10 组主路径、切换/保存/恢复/存储不可用 5 组以及实际截图和文字对比。
|
||||
|
||||
## 恢复鸢尾紫与默认记忆
|
||||
|
||||
用户回看初版后,恢复「鸢尾紫」为第三套可选外观;沿用初版紫色、浅灰导航和白色画布。三套预览桌面并排、窄屏纵排,明确最后选择就是下次打开时的默认配色。
|
||||
|
||||
实现与验收已完成:TypeScript/Vite/mobile shell、紫色 10 组主路径、外观 7 组通过。使用独立持久化浏览器配置,分别选择雾蓝、深青绿、鸢尾紫,每次完全关闭后重启确认恢复;另核对刷新、多页同步、预览链接、存储不可用、600/390/320px 与手机伴随端、实际文字对比。仅本地源码与独立预览,不制作发行包或升级正式安装。
|
||||
|
||||
Reference in New Issue
Block a user