正在打开每日关注
正在打开每日关注
Stitch by Google 更新 DESIGN.md 工具链,支持 lint、差异比较、翻译及一键导出 Tailwind 主题。
Four months ago, we launched the DESIGN.md standard to build a portable visual identity for agents. Recently, it hit one of the top trending repos on GitHub! 🤯 If you haven't checked the repo lately, it has leveled up. We just added: ✨ Linters ✨ Diff tools ✨ Translators Want to turn your DESIGN.md directly into a Tailwind theme? See the attached one line command. Keep watching this space. We have big plans for the future of OPEN and portable design formats. Repo link 👇
是什么
这条推文介绍 Stitch by Google 对 DESIGN.md 工具链的更新:用可携带的视觉身份描述约束 Agent 生成界面。新增 linters、diff tools 和 translators;配图展示通过 npx @google/design.md export --format json-tailwind DESIGN.md > tailwind.theme.json,把 DESIGN.md 导出为 Tailwind 主题文件。
核心设计 它把散落在提示词、代码和截图中的视觉规则,提升为可检查、可比较、可转换的显式格式:lint 检查规范,diff 识别变更,translator 连接不同格式或工具,导出器连接设计规范与前端实现。重点不是一条命令,而是让 Agent、设计系统与代码共享同一份视觉契约。
关键洞察 开放、可移植的设计格式有助于跨 Agent 流程复用品牌与界面语言,也让人机协作更容易审阅变化。团队可优先沉淀颜色、字体、间距和组件规则等可验证约束。
边界与风险 原文未提供 README、目录结构、格式定义或兼容性说明,不能据此判断仓库架构和成熟度。转换过程也可能遗漏交互语义、响应式规则或品牌语境;落地前应核对规范与生成主题的实际渲染。