-
Notifications
You must be signed in to change notification settings - Fork 515
Open
Description
While vibe coding I ran into an issue with a component's border not being coded correctly. The component had a bottom-border but it was being coded with a border all around. I asked Cursor to analyze the issue. It initially thought Figma API didn't provide the data. After some digging here is what it returned.
The issue is that the MCP tool I'm using appears to be returning a limited subset of the Figma API properties. I can see:
What the MCP Tool Currently Returns:
✅ strokes array with color
❌ Missing: strokeWeight, strokeAlign, strokeTopWeight, strokeBottomWeight, etc.
What the Full Figma API Should Provide:
According to your research and the Figma API docs:
- strokeTopWeight
- strokeBottomWeight
- strokeLeftWeight
- strokeRightWeight
- strokeWeight (overall)
- strokeAlign
Metadata
Metadata
Assignees
Labels
No labels