Repository navigation
feat: images from URLs in render and fewer follow-up fixes for common layouts - #51
Merged
Merged
Conversation
… 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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Images from the web
renderacceptsimage="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
items="center"is centered automatically.alignstill wins<Rectangle ... />works as the outermost elementposition="absolute"overlays andoverflow="hidden"clippingFile 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/Release 2.2.2.
🤖 Generated with Claude Code