figma-mcp-stdio 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +0 -3
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -24,13 +24,10 @@ server.addTool({
|
|
|
24
24
|
5. 使用【获取图片详情工具】获取截图详情,根据详情内容生成页面,结合JSON数据优化样式,截图为主,JSON数据为辅。分段生成代码,例如template、script、scss,防止任务过大超时
|
|
25
25
|
6. 调用【检查页面工具】检查页面各个部分,确保都已经正确生成
|
|
26
26
|
7. 使用terminal命令删除页面截图(保存在images下的),只保留用户指定下载的图片资源文件
|
|
27
|
-
8. 确保生成的页面具有响应式特性,宽度设置为100%而非固定的设计稿尺寸(如375px)
|
|
28
|
-
|
|
29
27
|
质量要求:
|
|
30
28
|
- 交互功能:实现设计稿中的交互逻辑和用户体验
|
|
31
29
|
- 图片处理:正确替换和优化图片资源,语义化命名
|
|
32
30
|
- 完整样式:包含渐变背景、阴影效果、圆角、动画等所有视觉元素
|
|
33
|
-
- 响应式设计:确保在不同设备上的良好显示效果
|
|
34
31
|
`);
|
|
35
32
|
},
|
|
36
33
|
});
|