Repository navigation
Conversation
Penpot reports typography-token line heights (and sometimes font sizes) as numbers, which crashed lineHeightMultiplier with 'e.trim is not a function' while resolving design-system dependencies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LtGPP175JALEutZgvZEY2p
TOKEN_SET_ORDER_INVALID compared each set's per-catalog index with its position in the merged local + shared list, so any extra catalog shifted the expected index. Also ignore the current file if Penpot lists it among connected libraries, which would duplicate every local set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LtGPP175JALEutZgvZEY2p
Local component trees are tagged with the current file's id, so their token bindings were looked up as shared-library tokens and reported as LIBRARY_TOKEN_UNRESOLVED once the file was no longer treated as its own connected library. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LtGPP175JALEutZgvZEY2p
Resolved component instances render through their component widget, so their subtrees no longer add asset candidates. This removes one duplicate SVG (and an ASSET_NAME_COLLISION) per icon instance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LtGPP175JALEutZgvZEY2p
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LtGPP175JALEutZgvZEY2p
This branch has not been deployed
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.
Hi! I hit a few errors using penpot2flutter on a file that binds typography and colour tokens to text and uses local components. These commits fix them; each has a test (114 passing).
e.trim is not a function): token-bound text can reportlineHeightand font metrics as numbers, andfontFamiliesas an array.lineHeightMultipliernow accepts numbers and strings.penpot.library.connected. Set order is now checked per library, and the local file is skipped when it lists itself.sourceLibraryScope === "local"; their token bindings now resolve against the local file instead of a library.Happy to change anything to fit the project's conventions.
Generated with Claude Code