Repository navigation
feat: render from files, text and instance positioning, reliable icons - #52
Merged
Merged
Conversation
- render --file and render-batch --file read JSX without shell quoting - text layers take name and decoration; text and instances support absolute position - instances take tint to recolor their vectors - bare numeric props like x=48 are parsed - icons load per icon set in one request, are cached on disk and report a note when missing - auto-layout frames keep strokes out of the layout like the Figma editor - release 2.2.3 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
Fewer shell errors
render --file ui.jsxandrender-batch --file frames.jsonread the JSX from a file. Long or generated layouts no longer break on shell quoting.Layout details that needed manual fixes
name="..."anddecoration="strikethrough|underline"<Text>and<Instance>acceptposition="absolute" x y<Instance tint="#hex|var:name">recolors the vectors inside an instance, for example an icon per statex=48are read as numbersw="fill"children span the full width of a bordered cardReliable icons
Icons load with one request per icon set and are cached in
~/.figma-ds-cli/icons. When an icon cannot be loaded, render says so in anote:line instead of silently drawing a placeholder.Release 2.2.3.
🤖 Generated with Claude Code