mirror of
https://github.com/makecindy/cindy.git
synced 2026-12-02 04:10:10 +08:00
设计规范矛盾审核(基准 6b8468f37c)颜色与主题一组,按 2026-11-11 维护者裁决: - A-05(B):Classic 的 text-primary-hsl / surface-hover-hsl / text-tertiary-hsl 改为与 hex 同色(DTCG 源改值后重新生成)。 - A-06(A):聊天输入框占位字默认直接用占位档,不再叠 40% 透明;删除 CINDY 同值覆盖, 未使用的 chat-placeholder-text 改指占位档(ID 保留)。 - A-07(A):图片预览、文件预览浮签与横幅、worktree 失败提示、计划保存失败、搜索错误、 转换对话框、语音权限、终端错误改走现有 token;删除 composer-pill 兜底色。 - A-09(A):.diff / .patch 文件在 CodeMirror 预览里按 --diff-* 整行上色;patch 代码块 与 diff 代码块同款渲染;深色 hljs 增删行改走 token。 - A-15(A):Toast 四色改走状态色 token,撤销豁免并移入归档。 - E-02(B):CINDY Dark sidebar-item-hover 由白 9% 并入墨水阶梯白 6%(#9828 未改此值)。 - E-03(A):计划编辑框不再自设光标,删除 CodeMirror 主题里无效的 caretColor。 - E-05(A):CINDY 主题与冻结数据文件头改为数值看 design-tokens、规则看 DESIGN §15。 - E-12(A):§15.4 改正 HSL_FORMAT_IDS 说法,cindyThemes ③ 补「名单外不得写成 HSL」。 - A-03 / A-04(含 E-16)/ A-14 / A-16(A):DESIGN.md 补登在用彩色、模型名预算渐变、 shadow-soft-panel 与 warning-accent 根 token;删除未使用的 shadow-chip-raised。 Signed-off-by: kirozeng <kirozeng@gmail.com> Assisted-by: Cindy (https://cindy.app)
244 lines
8.1 KiB
JSON
244 lines
8.1 KiB
JSON
[
|
|
{
|
|
"glob": "apps/desktop/src/renderer/styles/globals.css",
|
|
"reason": "D hljs 整改段 [data-theme=cindy-dark] .hljs-section 提亮值 #2573ec + 注释引用 default/CINDY 色",
|
|
"owner": "D",
|
|
"matches": [
|
|
{
|
|
"value": "#2573ec",
|
|
"before": "color:\\s*",
|
|
"selector": "[data-theme=\"cindy-dark\"] .hljs-section"
|
|
},
|
|
{
|
|
"value": "#c9d1d9",
|
|
"before": "color:\\s*",
|
|
"selector": "[data-theme=\"cindy-dark\"] .hljs-punctuation,\n[data-theme=\"cindy-dark\"] .hljs-tag"
|
|
}
|
|
],
|
|
"reviewDate": "2027-04-30",
|
|
"maintenanceOwner": "kirozeng / DS-7 executor",
|
|
"basis": "Existing approval above; DS-7 narrows it to the named colour role and exact approved values, no new palette approval."
|
|
},
|
|
{
|
|
"glob": "apps/desktop/src/renderer/components/settings/AgentIslandSection.tsx",
|
|
"reason": "灵动岛 mascot 预览的角色素材固有色(眼色):与原生 SpriteMascotConfig 一一对应的素材参数,不是界面语义色;改用 token 会与原生渲染脱钩",
|
|
"owner": "agent-island",
|
|
"matches": [
|
|
{
|
|
"value": "rgb(107 61 50)",
|
|
"before": "eyeColor:\\s*['\\\"]",
|
|
"object": "MASCOT_PREVIEW_CONFIGS.cindy"
|
|
},
|
|
{
|
|
"value": "rgb(253 207 69)",
|
|
"before": "eyeColor:\\s*['\\\"]",
|
|
"object": ["MASCOT_PREVIEW_CONFIGS.blackcat", "MASCOT_PREVIEW_CONFIGS.chaku"]
|
|
},
|
|
{
|
|
"value": "rgb(135 93 66)",
|
|
"before": "eyeColor:\\s*['\\\"]",
|
|
"object": "MASCOT_PREVIEW_CONFIGS.erika"
|
|
},
|
|
{
|
|
"value": "rgb(61 114 228)",
|
|
"before": "eyeColor:\\s*['\\\"]",
|
|
"object": "MASCOT_PREVIEW_CONFIGS.tarara"
|
|
},
|
|
{
|
|
"value": "black",
|
|
"before": "eyeColor:\\s*['\\\"]",
|
|
"object": ["MASCOT_PREVIEW_CONFIGS.boli", "MASCOT_PREVIEW_CONFIGS.whitesnow", "MASCOT_PREVIEW_CONFIGS.muffin"]
|
|
},
|
|
{
|
|
"value": "rgb(174 33 70)",
|
|
"before": "eyeColor:\\s*['\\\"]",
|
|
"object": "MASCOT_PREVIEW_CONFIGS.annie"
|
|
}
|
|
],
|
|
"reviewDate": "2027-04-30",
|
|
"maintenanceOwner": "kirozeng / DS-7 executor",
|
|
"basis": "Existing approval above; DS-7 narrows it to the named colour role and exact approved values, no new palette approval."
|
|
},
|
|
{
|
|
"glob": "apps/desktop/src/renderer/components/settings/WorkLouderCodexKeyboardLayout.tsx",
|
|
"reason": "Codex Micro 设置页复刻实体键盘的固有色(透白任务帽/深灰命令帽/摇杆座),不是界面语义色;走 surface token 会在 dark mode 反相",
|
|
"owner": "worklouder-codex",
|
|
"matches": [
|
|
{
|
|
"value": "rgb(255 255 255 / 0.06)",
|
|
"before": "'\\-\\-wl\\-board\\-shadow':\\s*'inset\\ 0\\ 1px\\ 0\\ "
|
|
},
|
|
{
|
|
"value": "rgb(0 0 0 / 0.12)",
|
|
"before": "'\\-\\-wl\\-board\\-shadow':\\s*'inset\\ 0\\ 1px\\ 0\\ rgb\\(255\\ 255\\ 255\\ /\\ 0\\.06\\),\\ inset\\ 0\\ 0\\ 0\\ 1px\\ "
|
|
},
|
|
{
|
|
"value": "rgb(0 0 0 / 0.22)",
|
|
"before": "'\\-\\-wl\\-board\\-shadow':\\s*'inset\\ 0\\ 1px\\ 0\\ rgb\\(255\\ 255\\ 255\\ /\\ 0\\.06\\),\\ inset\\ 0\\ 0\\ 0\\ 1px\\ rgb\\(0\\ 0\\ 0\\ /\\ 0\\.12\\),\\ 0\\ 2px\\ 8px\\ "
|
|
},
|
|
{
|
|
"value": "rgb(214 214 214 / 0.92)",
|
|
"before": "'\\-\\-wl\\-agent\\-cap':\\s*'"
|
|
},
|
|
{
|
|
"value": "rgb(255 255 255 / 0.5)",
|
|
"before": "'\\-\\-wl\\-agent\\-shadow':\\s*'inset\\ 0\\ 0\\ 0\\ 1px\\ "
|
|
},
|
|
{
|
|
"value": "rgb(255 255 255 / 0.6)",
|
|
"before": "'\\-\\-wl\\-agent\\-shadow':\\s*'inset\\ 0\\ 0\\ 0\\ 1px\\ rgb\\(255\\ 255\\ 255\\ /\\ 0\\.5\\),\\ inset\\ 0\\ 1px\\ 2px\\ "
|
|
},
|
|
{
|
|
"value": "rgb(0 0 0 / 0.35)",
|
|
"before": "'\\-\\-wl\\-agent\\-shadow':\\s*'inset\\ 0\\ 0\\ 0\\ 1px\\ rgb\\(255\\ 255\\ 255\\ /\\ 0\\.5\\),\\ inset\\ 0\\ 1px\\ 2px\\ rgb\\(255\\ 255\\ 255\\ /\\ 0\\.6\\),\\ 0\\ 1px\\ 3px\\ "
|
|
},
|
|
{
|
|
"value": "#8177c8",
|
|
"before": "'\\-\\-wl\\-agent\\-dot':\\s*'"
|
|
},
|
|
{
|
|
"value": "#2a2b30",
|
|
"before": "'\\-\\-wl\\-command\\-cap':\\s*'"
|
|
},
|
|
{
|
|
"value": "rgb(255 255 255 / 0.08)",
|
|
"before": "'\\-\\-wl\\-command\\-shadow':\\s*'inset\\ 0\\ 0\\ 0\\ 1px\\ "
|
|
},
|
|
{
|
|
"value": "rgb(255 255 255 / 0.06)",
|
|
"before": "'\\-\\-wl\\-command\\-shadow':\\s*'inset\\ 0\\ 0\\ 0\\ 1px\\ rgb\\(255\\ 255\\ 255\\ /\\ 0\\.08\\),\\ inset\\ 0\\ 1px\\ 2px\\ "
|
|
},
|
|
{
|
|
"value": "rgb(0 0 0 / 0.4)",
|
|
"before": "'\\-\\-wl\\-command\\-shadow':\\s*'inset\\ 0\\ 0\\ 0\\ 1px\\ rgb\\(255\\ 255\\ 255\\ /\\ 0\\.08\\),\\ inset\\ 0\\ 1px\\ 2px\\ rgb\\(255\\ 255\\ 255\\ /\\ 0\\.06\\),\\ 0\\ 1px\\ 3px\\ "
|
|
},
|
|
{
|
|
"value": "rgb(236 236 236)",
|
|
"before": "'\\-\\-wl\\-command\\-glyph':\\s*'"
|
|
},
|
|
{
|
|
"value": "rgb(198 198 200 / 0.96)",
|
|
"before": "'\\-\\-wl\\-stick\\-housing':\\s*'"
|
|
},
|
|
{
|
|
"value": "rgb(0 0 0 / 0.22)",
|
|
"before": "'\\-\\-wl\\-stick\\-housing\\-shadow':\\s*'inset\\ 0\\ 1px\\ 3px\\ "
|
|
},
|
|
{
|
|
"value": "rgb(0 0 0 / 0.08)",
|
|
"before": "'\\-\\-wl\\-stick\\-housing\\-shadow':\\s*'inset\\ 0\\ 1px\\ 3px\\ rgb\\(0\\ 0\\ 0\\ /\\ 0\\.22\\),\\ inset\\ 0\\ 0\\ 0\\ 1px\\ "
|
|
},
|
|
{
|
|
"value": "rgb(255 255 255 / 0.35)",
|
|
"before": "'\\-\\-wl\\-stick\\-housing\\-shadow':\\s*'inset\\ 0\\ 1px\\ 3px\\ rgb\\(0\\ 0\\ 0\\ /\\ 0\\.22\\),\\ inset\\ 0\\ 0\\ 0\\ 1px\\ rgb\\(0\\ 0\\ 0\\ /\\ 0\\.08\\),\\ 0\\ 1px\\ 0\\ "
|
|
},
|
|
{
|
|
"value": "#2a2b30",
|
|
"before": "'\\-\\-wl\\-stick\\-cap':\\s*'"
|
|
},
|
|
{
|
|
"value": "#2a2b30",
|
|
"before": "'\\-\\-wl\\-agent\\-cap':\\s*'"
|
|
},
|
|
{
|
|
"value": "rgb(255 255 255 / 0.08)",
|
|
"before": "'\\-\\-wl\\-agent\\-shadow':\\s*'inset\\ 0\\ 0\\ 0\\ 1px\\ "
|
|
},
|
|
{
|
|
"value": "rgb(255 255 255 / 0.06)",
|
|
"before": "'\\-\\-wl\\-agent\\-shadow':\\s*'inset\\ 0\\ 0\\ 0\\ 1px\\ rgb\\(255\\ 255\\ 255\\ /\\ 0\\.08\\),\\ inset\\ 0\\ 1px\\ 2px\\ "
|
|
},
|
|
{
|
|
"value": "rgb(0 0 0 / 0.4)",
|
|
"before": "'\\-\\-wl\\-agent\\-shadow':\\s*'inset\\ 0\\ 0\\ 0\\ 1px\\ rgb\\(255\\ 255\\ 255\\ /\\ 0\\.08\\),\\ inset\\ 0\\ 1px\\ 2px\\ rgb\\(255\\ 255\\ 255\\ /\\ 0\\.06\\),\\ 0\\ 1px\\ 3px\\ "
|
|
},
|
|
{
|
|
"value": "#a99df2",
|
|
"before": "'\\-\\-wl\\-agent\\-dot':\\s*'"
|
|
},
|
|
{
|
|
"value": "rgb(255_255_255/0.18)",
|
|
"before": "shadow\\-\\[inset_0_1px_1px_"
|
|
},
|
|
{
|
|
"value": "rgb(0_0_0/0.28)",
|
|
"before": "shadow\\-\\[inset_0_1px_1px_rgb\\(255_255_255/0\\.18\\),0_1px_2px_"
|
|
},
|
|
{
|
|
"value": "#4c8dff",
|
|
"before": "className=\"block\\ size\\-1\\ rounded\\-full\\ bg\\-\\["
|
|
},
|
|
{
|
|
"value": "#e0b341",
|
|
"before": "className=\"block\\ size\\-1\\ rounded\\-full\\ bg\\-\\["
|
|
}
|
|
],
|
|
"reviewDate": "2027-04-30",
|
|
"maintenanceOwner": "kirozeng / DS-7 executor",
|
|
"basis": "Existing approval above; DS-7 narrows it to the named colour role and exact approved values, no new palette approval."
|
|
},
|
|
{
|
|
"glob": "apps/desktop/src/renderer/features/region-screenshot/screenshotColors.ts",
|
|
"reason": "全局截图的标注墨水 (烧录进用户截图的内容像素, 红色即 annotation-accent) 与覆盖在任意屏幕内容上的功能像素 (暗化遮罩、选区白描边与暗色外圈、放大镜十字线、定格底色): 不是界面语义色, 两种模式必须同值才能在任何底色上看清; 界面 chrome 仍走 token。DESIGN.md §2「Screenshot overlay and annotation ink」登记",
|
|
"owner": "region-screenshot",
|
|
"reviewDate": "2027-04-26",
|
|
"matches": [
|
|
{
|
|
"value": "#FF3B30",
|
|
"before": "red:\\s*['\\\"]",
|
|
"object": "SCREENSHOT_INK"
|
|
},
|
|
{
|
|
"value": "#FFCC00",
|
|
"before": "yellow:\\s*['\\\"]",
|
|
"object": "SCREENSHOT_INK"
|
|
},
|
|
{
|
|
"value": "#34C759",
|
|
"before": "green:\\s*['\\\"]",
|
|
"object": "SCREENSHOT_INK"
|
|
},
|
|
{
|
|
"value": "#007AFF",
|
|
"before": "blue:\\s*['\\\"]",
|
|
"object": "SCREENSHOT_INK"
|
|
},
|
|
{
|
|
"value": "#000000",
|
|
"before": "black:\\s*['\\\"]",
|
|
"object": "SCREENSHOT_INK"
|
|
},
|
|
{
|
|
"value": "#FFFFFF",
|
|
"before": "white:\\s*['\\\"]",
|
|
"object": "SCREENSHOT_INK"
|
|
},
|
|
{
|
|
"value": "#000000",
|
|
"before": "backdrop:\\s*['\\\"]",
|
|
"object": "SCREENSHOT_OVERLAY"
|
|
},
|
|
{
|
|
"value": "rgba(0, 0, 0, 0.45)",
|
|
"before": "shade:\\s*['\\\"]",
|
|
"object": "SCREENSHOT_OVERLAY"
|
|
},
|
|
{
|
|
"value": "#FFFFFF",
|
|
"before": "edge:\\s*['\\\"]",
|
|
"object": "SCREENSHOT_OVERLAY"
|
|
},
|
|
{
|
|
"value": "rgba(0, 0, 0, 0.6)",
|
|
"before": "edgeOuter:\\s*['\\\"]",
|
|
"object": "SCREENSHOT_OVERLAY"
|
|
},
|
|
{
|
|
"value": "rgba(0, 0, 0, 0.35)",
|
|
"before": "crosshair:\\s*['\\\"]",
|
|
"object": "SCREENSHOT_OVERLAY"
|
|
}
|
|
]
|
|
}
|
|
]
|