Skip to content

feat: images from URLs in render and fewer follow-up fixes for common layouts - #51

Merged
silships merged 1 commit into
mainfrom
feat/designer-fixes
Sep 25, 2026
Merged

silships merged 1 commit into
mainfrom
feat/designer-fixes

Conversation

@silships

Copy link
Copy Markdown
Owner

What changes

Images from the web
render accepts image="https://..." on frames and rectangles and <Image src="https://..." />. figma-cli downloads the file and hands Figma the bytes. Before this a URL image failed whenever a plugin with network restrictions was open in the same file.

Fewer follow-up fixes

  • Text in a column with items="center" is centered automatically. align still wins
  • A lone <Rectangle ... /> works as the outermost element
  • The agent rules explain images and position="absolute" overlays and overflow="hidden" clipping

File warming
The daemon loads all pages in the background right after it connects, so the first command in a large file does not wait for Figma to load pages.

Fixes

  • <Image> <Rect> <Ellipse> and <Slot> were dropped when a quoted value contained a /
  • The live test scripts remove their pages when they finish

Release 2.2.2.

🤖 Generated with Claude Code

… layouts

- render downloads image="https://..." and <Image src> on the CLI side and passes the bytes
- a lone Rectangle is a valid render root
- text in a centered column is centered unless align is set
- the daemon warms the file by loading all pages in the background after connecting
- self-closing tags keep quoted values that contain a slash
- the agent rules cover images and absolute positioning and clipping
- live test scripts clean up their pages
- release 2.2.2

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@silships
silships merged commit bf5355f into main Sep 25, 2026
3 checks passed
@silships
silships deleted the feat/designer-fixes branch September 25, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant