Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

chore: 豁免设计规范文档的色值审计

Dash66abb46150f3
diff --git a/scripts/hardcoded-color-exemptions.json b/scripts/hardcoded-color-exemptions.json
index 2e7827c86d..6dfae4d8c5 100644
--- a/scripts/hardcoded-color-exemptions.json
+++ b/scripts/hardcoded-color-exemptions.json
@@ -34,6 +34,16 @@
"reason": "§15 CINDY 色板/三份红 map 文档示例",
"owner": "D2"
},
+ {
+ "glob": "docs/design-rules/DESIGN.md",
+ "reason": "设计规范正本即色值权威(§15.16 色阶/用户调参记录),文档示例不是组件硬编码",
+ "owner": "D2"
+ },
+ {
+ "glob": "docs/design-rules/token-decision-table.md",
+ "reason": "token 决策表即色值权威(§9 面阶梯),文档示例不是组件硬编码",
+ "owner": "D2"
+ },
{
"glob": "apps/desktop/src/renderer/themes/__tests__/cindyCodeBlockContrast.test.ts",
"reason": "D2-6 hljs 落档:hljs 主题色数据(LIGHT/DARK)+注释引用 default/CINDY 色",